mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: updated magic values
This commit is contained in:
parent
36b3b2cff4
commit
cbb7128218
8 changed files with 60 additions and 62 deletions
|
@ -6,8 +6,8 @@
|
|||
inherit (flake.config.people) user0 user1 user2;
|
||||
inherit (flake.config.system.device) laptop nas server;
|
||||
|
||||
secrets0 = config.sops.secrets."network/synology".path;
|
||||
secrets1 = config.sops.secrets."network/server".path;
|
||||
synologySecrets = config.sops.secrets."network/synology".path;
|
||||
serverSecrets = config.sops.secrets."network/server".path;
|
||||
in {
|
||||
fileSystems = let
|
||||
synologyDrives = [
|
||||
|
@ -25,7 +25,7 @@ in {
|
|||
value = {
|
||||
device = nas.${folder}.device;
|
||||
fsType = "cifs";
|
||||
options = nas.${folder}.options ++ ["credentials=${secrets0}"];
|
||||
options = nas.${folder}.options ++ ["credentials=${synologySecrets}"];
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -34,7 +34,7 @@ in {
|
|||
value = {
|
||||
device = server.${samba}.device;
|
||||
fsType = "cifs";
|
||||
options = server.${samba}.options ++ ["credentials=${secrets1}"];
|
||||
options = server.${samba}.options ++ ["credentials=${serverSecrets}"];
|
||||
};
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue