diff options
author | Alan Pearce | 2022-06-13 23:39:48 +0200 |
---|---|---|
committer | Alan Pearce | 2022-06-14 21:46:17 +0200 |
commit | b3db99b6697895f78ea8ec8decbe7934469fce84 (patch) | |
tree | a04687cb22a7f45a9d88c2065b3ac8903d4ec479 /system | |
parent | 33d5e6617ad53fb63f5e77e1561ac1377c1b6ee8 (diff) | |
download | nixfiles-b3db99b6697895f78ea8ec8decbe7934469fce84.tar.lz nixfiles-b3db99b6697895f78ea8ec8decbe7934469fce84.tar.zst nixfiles-b3db99b6697895f78ea8ec8decbe7934469fce84.zip |
prefect: set more filesystem options
Diffstat (limited to 'system')
-rw-r--r-- | system/prefect.nix | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/system/prefect.nix b/system/prefect.nix index ba3bc144..510f88f3 100644 --- a/system/prefect.nix +++ b/system/prefect.nix @@ -50,15 +50,26 @@ zenpower ]; - fileSystems."/data" = { - label = "Data"; - fsType = "ntfs"; - options = ["rw" "uid=1000" "noauto" "x-systemd.automount"]; - }; - fileSystems."/windows" = { - label = "Windows"; - fsType = "ntfs"; - options = ["rw" "uid=1000" "noauto" "x-systemd.automount"]; + fileSystems = { + "/".options = [ "atgc" "gc_merge" "lazytime" ]; + "/home" = "/dev/disk/by-partlabel/home"; + "/mnt/data" = { + device = "/dev/disk/by-uuid/52E422C5E422AAE5"; + fsType = "ntfs3"; + options = [ "uid=1000" "gid=100" "noauto" "x-systemd-automount" ]; + }; + + "/mnt/games" = { + device = "/dev/disk/by-partlabel/games"; + fsType = "ntfs3"; + options = [ "uid=1000" "gid=100" "noauto" "x-systemd-automount" ]; + }; + + "/mnt/windows" = { + device = "/dev/disk/by-partlabel/windows"; + fsType = "ntfs3"; + options = [ "nofail" ]; + }; }; services.xserver = { |