parent
b64d578fd5
commit
63f37e0a09
|
@ -1,2 +1,4 @@
|
||||||
"apps/gui/firefox/work.nix":
|
"apps/gui/firefox/work.nix":
|
||||||
- age105cm5awxxegyrqthh4vhnxzr0tdy86q8uq52wkkjacfkutp2vprqwseak7
|
- age105cm5awxxegyrqthh4vhnxzr0tdy86q8uq52wkkjacfkutp2vprqwseak7
|
||||||
|
"machines/chai/cifs.nix":
|
||||||
|
- age105cm5awxxegyrqthh4vhnxzr0tdy86q8uq52wkkjacfkutp2vprqwseak7
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
# Age
|
# Age
|
||||||
apps/gui/firefox/work.nix filter=git-age diff=git-age
|
apps/gui/firefox/work.nix filter=git-age diff=git-age
|
||||||
|
machines/chai/cifs.nix filter=git-age diff=git-age
|
||||||
|
|
||||||
# Git LFS
|
# Git LFS
|
||||||
*.png filter=lfs diff=lfs merge=lfs -text
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|
|
@ -90,12 +90,11 @@
|
||||||
})
|
})
|
||||||
golink.overlay
|
golink.overlay
|
||||||
];
|
];
|
||||||
commonConfig = {gui ? true}: {config, ...}: let
|
|
||||||
userSecret = path: {
|
userSecret = path: {
|
||||||
file = path;
|
file = path;
|
||||||
owner = username;
|
owner = username;
|
||||||
};
|
};
|
||||||
in {
|
commonConfig = {gui ? true}: {config, ...}: {
|
||||||
config = {
|
config = {
|
||||||
nixpkgs.overlays = overlays;
|
nixpkgs.overlays = overlays;
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
@ -150,6 +149,7 @@
|
||||||
owner = username;
|
owner = username;
|
||||||
path = "/home/${username}/.config/pip/pip.conf";
|
path = "/home/${username}/.config/pip/pip.conf";
|
||||||
};
|
};
|
||||||
|
cifs = userSecret ./secrets/work/cifs.age;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
Binary file not shown.
|
@ -4,7 +4,7 @@
|
||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
imports = [(modulesPath + "/installer/scan/not-detected.nix") ./cifs.nix];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
|
||||||
boot.initrd.kernelModules = [];
|
boot.initrd.kernelModules = [];
|
||||||
|
|
|
@ -12,4 +12,5 @@ in {
|
||||||
"shared/irc-pw.age".publicKeys = all;
|
"shared/irc-pw.age".publicKeys = all;
|
||||||
"work/netrc.age".publicKeys = [jolheiser chai];
|
"work/netrc.age".publicKeys = [jolheiser chai];
|
||||||
"work/pip.conf.age".publicKeys = [jolheiser chai];
|
"work/pip.conf.age".publicKeys = [jolheiser chai];
|
||||||
|
"work/cifs.age".publicKeys = [jolheiser chai];
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Reference in New Issue