From 4a86574f3198c4a97675fa05d8db3eb5f507acd2 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Sun, 29 Sep 2024 10:07:35 +0200 Subject: updates --- hosts/workstation/hardware.nix | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'hosts') 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 -- cgit v1.2.3-70-g09d2