diff options
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/workstation/hardware.nix | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/hosts/workstation/hardware.nix b/hosts/workstation/hardware.nix index d32bde5..f50eb31 100644 --- a/hosts/workstation/hardware.nix +++ b/hosts/workstation/hardware.nix @@ -4,7 +4,6 @@ { config, lib, - pkgs, modulesPath, ... }: @@ -66,6 +65,23 @@ ]; }; + fileSystems."/mnt/storage" = { + device = "//night-server/storage"; + fsType = "cifs"; + options = [ + "users" + "nofail" + "x-systemd.automount" + "noauto" + "x-systemd.idle-timeout=60" + "x-systemd.device-timeout=5s" + "x-systemd.mount-timeout=5s" + "credentials=/etc/keys/storage" + "uid=1000" + "gid=100" + ]; + }; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |