summaryrefslogtreecommitdiff
path: root/hosts/shared/hardware-configuration.nix
blob: aea93104324d553db06a9b8db8c0920a3242d4b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"
    ];
  };
}