1
0
Fork 0

feat: add cifs

Signed-off-by: jolheiser <john.olheiser@gmail.com>
main
jolheiser 2023-11-13 14:45:38 -06:00
parent b64d578fd5
commit 63f37e0a09
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
7 changed files with 11 additions and 7 deletions

View File

@ -1,2 +1,4 @@
"apps/gui/firefox/work.nix":
- age105cm5awxxegyrqthh4vhnxzr0tdy86q8uq52wkkjacfkutp2vprqwseak7
"machines/chai/cifs.nix":
- age105cm5awxxegyrqthh4vhnxzr0tdy86q8uq52wkkjacfkutp2vprqwseak7

1
.gitattributes vendored
View File

@ -1,5 +1,6 @@
# Age
apps/gui/firefox/work.nix filter=git-age diff=git-age
machines/chai/cifs.nix filter=git-age diff=git-age
# Git LFS
*.png filter=lfs diff=lfs merge=lfs -text

View File

@ -90,12 +90,11 @@
})
golink.overlay
];
commonConfig = {gui ? true}: {config, ...}: let
userSecret = path: {
file = path;
owner = username;
};
in {
userSecret = path: {
file = path;
owner = username;
};
commonConfig = {gui ? true}: {config, ...}: {
config = {
nixpkgs.overlays = overlays;
home-manager = {
@ -150,6 +149,7 @@
owner = username;
path = "/home/${username}/.config/pip/pip.conf";
};
cifs = userSecret ./secrets/work/cifs.age;
};
};
})

Binary file not shown.

View File

@ -4,7 +4,7 @@
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.kernelModules = [];

View File

@ -12,4 +12,5 @@ in {
"shared/irc-pw.age".publicKeys = all;
"work/netrc.age".publicKeys = [jolheiser chai];
"work/pip.conf.age".publicKeys = [jolheiser chai];
"work/cifs.age".publicKeys = [jolheiser chai];
}

Binary file not shown.