diff options
| author | Fuwn <[email protected]> | 2024-10-25 01:14:57 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-25 01:15:00 -0700 |
| commit | 07cbd014938ab277fa54008471b3ac6d617a62c8 (patch) | |
| tree | e111bbfcce9070d57c660ded92548bf2483765d8 /hosts/shared | |
| parent | home: add kioku ssh target (diff) | |
| download | nixos-config-07cbd014938ab277fa54008471b3ac6d617a62c8.tar.xz nixos-config-07cbd014938ab277fa54008471b3ac6d617a62c8.zip | |
hosts: move kioku samba share to shared modules
Diffstat (limited to 'hosts/shared')
| -rw-r--r-- | hosts/shared/hardware-configuration.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/hosts/shared/hardware-configuration.nix b/hosts/shared/hardware-configuration.nix new file mode 100644 index 0000000..aea9310 --- /dev/null +++ b/hosts/shared/hardware-configuration.nix @@ -0,0 +1,21 @@ +{ config, ... }: +{ + fileSystems."/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" + "credentials=${config.sops.secrets.samba_secrets.path}" + "uid=1000" + "gid=1000" + ]; + }; +} |