diff options
| author | Fuwn <[email protected]> | 2024-10-24 22:41:41 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-24 22:49:33 -0700 |
| commit | 20731855b3493447c6cfe32411040a4eb7adcf59 (patch) | |
| tree | 2196421aaeaea4ec6ca90ce1e39456479cbbf9c4 /hosts/kansai | |
| parent | home: add cider (diff) | |
| download | nixos-config-20731855b3493447c6cfe32411040a4eb7adcf59.tar.xz nixos-config-20731855b3493447c6cfe32411040a4eb7adcf59.zip | |
kansai: mount kioku samba share
Diffstat (limited to 'hosts/kansai')
| -rw-r--r-- | hosts/kansai/hardware-configuration.nix | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/hosts/kansai/hardware-configuration.nix b/hosts/kansai/hardware-configuration.nix index 4f98789..8597736 100644 --- a/hosts/kansai/hardware-configuration.nix +++ b/hosts/kansai/hardware-configuration.nix @@ -14,6 +14,11 @@ let "space_cache=v2" "ssd" ]; + + commonUserOptions = [ + "uid=1000" + "gid=1000" + ]; in { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; @@ -79,11 +84,25 @@ in "rw" "nofail" "noatime" - "uid=1000" - "gid=1000" "dmask=027" "fmask=137" - ]; + ] ++ commonUserOptions; + }; + + "/mnt/kioku" = { + device = "//kioku/usb"; + fsType = "cifs"; + + options = [ + "x-systemd.automount" + "noauto" + "x-systemd.idle-timeout=60" + "x-systemd.device-timeout=5s" + "x-systemd.mount-timeout=5s" + "rw" + "nofail" + "noatime" + ] ++ commonUserOptions; }; }; |