mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
feat: set up declarative password with sops
This commit is contained in:
parent
a5e7d1bbf6
commit
fee6830edc
4 changed files with 14 additions and 19 deletions
|
|
@ -85,11 +85,6 @@ in
|
|||
directories = [
|
||||
"/var/cache"
|
||||
"/var/lib"
|
||||
"/etc/passwd"
|
||||
"/etc/shadow"
|
||||
"/etc/group"
|
||||
"/etc/subuid"
|
||||
"/etc/subgid"
|
||||
{
|
||||
directory = "/etc/ssh";
|
||||
mode = "u=rwx,g=rx,o=rx";
|
||||
|
|
|
|||
|
|
@ -59,13 +59,13 @@ in
|
|||
fsType = "vfat";
|
||||
options = deimos.boot.options;
|
||||
};
|
||||
}
|
||||
// (builtins.listToAttrs (
|
||||
builtins.concatMap (drive: map (folder: sambaMounts drive folder) remoteFolders) sambaDrives
|
||||
))
|
||||
// (builtins.listToAttrs (
|
||||
builtins.concatMap (drive: map (folder: sshfsMounts drive folder) remoteFolders) remoteDrives
|
||||
));
|
||||
};
|
||||
# // (builtins.listToAttrs (
|
||||
# builtins.concatMap (drive: map (folder: sambaMounts drive folder) remoteFolders) sambaDrives
|
||||
# ))
|
||||
# // (builtins.listToAttrs (
|
||||
# builtins.concatMap (drive: map (folder: sshfsMounts drive folder) remoteFolders) remoteDrives
|
||||
# ));
|
||||
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-uuid/027a1efb-6c4e-4c1a-9956-91c7513950b4"; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue