Filesystems: Unify local NAS mounting for all hosts
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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
-1
@@ -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; [
|
||||||
Reference in New Issue
Block a user