edk2 pi5 building
This commit is contained in:
@@ -62,8 +62,8 @@ let
|
|||||||
owner = "mjallen18";
|
owner = "mjallen18";
|
||||||
repo = "edk2-platforms";
|
repo = "edk2-platforms";
|
||||||
name = repo;
|
name = repo;
|
||||||
rev = "8dfa12ddd9e1d695f13a7e35e3646396a09ccb67";
|
rev = "fdf5a10cc60d1f01030e3ded3c6e69179819cd20";
|
||||||
hash = "sha256-8KaXpUWJtAbT35dX/fF94Y9HLzYHLOkX+Xzbn9l7idU=";
|
hash = "sha256-kc5kMEZNLxWFUN8n5+NxXNphkXAtVyjvSAuFyljb8Cs=";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
fetchFromGitHub rec {
|
fetchFromGitHub rec {
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
./filesystems.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
];
|
];
|
||||||
@@ -33,6 +34,7 @@
|
|||||||
};
|
};
|
||||||
user = {
|
user = {
|
||||||
name = "matt";
|
name = "matt";
|
||||||
|
extraGroups = [
|
||||||
"scanner"
|
"scanner"
|
||||||
"lp"
|
"lp"
|
||||||
"video"
|
"video"
|
||||||
|
|||||||
36
systems/aarch64-linux/macbook-pro-nixos/filesystems.nix
Normal file
36
systems/aarch64-linux/macbook-pro-nixos/filesystems.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user