aboutsummaryrefslogtreecommitdiff
path: root/hosts/herra/file-system.nix
blob: 07ba0faf2ba87d48844277163bf596ee976800b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{...}: {
  fileSystems."/nix" = {
    options = ["compress=zstd:3" "noatime"];
    neededForBoot = true;
  };

  #  fileSystems."/run/media/mun/GAMES" = {
  #    device = "/dev/disk/by-uuid/7D1A6ABE139A4C2C";
  #    fsType = "ntfs3";
  #
  #    options = [
  #      "nofail"
  #      "rw"
  #      "uid=1000"
  #      "gid=100"
  #      "big_writes"
  #      "noatime"
  #    ];
  #    neededForBoot = false;
  #  };

  # TODO: FIX ^
  # For now use the patch below (ik this is stupid)

  # NOTE: it was indeed stupid
  #   systemd.mounts = [
  #     {
  #       what = "/dev/disk/by-label/GAMES";
  #       where = "/run/media/mun/GAMES";
  #       type = "ntfs3";
  #       options = "nofail,rw,uid=1000,gid=100,noatime";
  #       wantedBy = ["multi-user.target"];
  #     }
  #   ];
  #
  #   systemd.tmpfiles.rules = [
  #     "d /run/media/mun/GAMES 0755 mun users -"
  #   ];
}