summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-09-29 10:07:35 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-09-29 10:07:35 +0200
commit4a86574f3198c4a97675fa05d8db3eb5f507acd2 (patch)
tree318e877606de433693dd13f42bdb8a69fa229ee4 /hosts
parent8b35ee07f9778803febc070b5138e1bebee5447f (diff)
updates
Diffstat (limited to 'hosts')
-rw-r--r--hosts/workstation/hardware.nix18
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