edk2 pi5 building

This commit is contained in:
mjallen18
2026-01-13 19:28:08 -06:00
parent 49485c91a6
commit 57add82f95
3 changed files with 40 additions and 2 deletions

View File

@@ -6,6 +6,7 @@
{
imports = [
./boot.nix
./filesystems.nix
./hardware-configuration.nix
./services.nix
];
@@ -33,6 +34,7 @@
};
user = {
name = "matt";
extraGroups = [
"scanner"
"lp"
"video"

View File

@@ -0,0 +1,36 @@
{ ... }:
let
defaultNetworkShareOptions = [
"sec=none"
"nofail"
"x-systemd.automount"
"auto"
"rw"
"file_mode=0775"
"dir_mode=0775"
"uid=matt"
"gid=wheel"
];
in
{
fileSystems = {
# Network shares
"/media/nas/backup" = {
device = "//10.0.1.3/Backup";
fsType = "cifs";
options = defaultNetworkShareOptions;
};
"/media/nas/isos" = {
device = "//10.0.1.3/isos";
fsType = "cifs";
options = defaultNetworkShareOptions;
};
"/media/nas/3d_printer" = {
device = "//10.0.1.3/3d_printer";
fsType = "cifs";
options = defaultNetworkShareOptions;
};
};
}