Filesystems: Unify local NAS mounting for all hosts

This commit is contained in:
2026-06-18 16:04:42 +02:00
parent 61f4e15fb2
commit 7fc9d10092
4 changed files with 3 additions and 17 deletions
+1
View File
@@ -7,6 +7,7 @@
(grub-boot "/dev/nvme0n1") (grub-boot "/dev/nvme0n1")
development-tools development-tools
i18n-de i18n-de
mount-duke-smb
#TODO: moar aspects #TODO: moar aspects
]; ];
+1
View File
@@ -14,6 +14,7 @@
opentablet opentablet
appimage appimage
mount-duke-smb
]; ];
}; };
} }
@@ -1,16 +0,0 @@
{ inputs, ... }: {
flake.modules.nixos.tux = { config, ... }: {
age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age";
imports = with inputs.self.factory; [
(mount-cifs {
host = "duke.veltnet";
resource = "smb-share";
destination = "/mnt/nas";
credentials_path = "${config.age.secrets.nas-creds.path}";
UID = "weckyy702";
GID = "users";
})
];
};
}
@@ -1,5 +1,5 @@
{ inputs, ... }: { { inputs, ... }: {
flake.modules.nixos.keith = { config, ... }: { flake.modules.nixos.mount-duke-smb = { config, ... }: {
age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age"; age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age";
imports = with inputs.self.factory; [ imports = with inputs.self.factory; [