From b3db99b6697895f78ea8ec8decbe7934469fce84 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 13 Jun 2022 23:39:48 +0200 Subject: prefect: set more filesystem options --- system/prefect.nix | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'system/prefect.nix') 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 = { -- cgit 1.4.1