From f47c74c35e2e5067f3c6da249d99c21263b36871 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Tue, 12 May 2026 16:17:06 +0200 Subject: Added GAMES as an auto mount to herra --- hosts/herra/file-system.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'hosts') diff --git a/hosts/herra/file-system.nix b/hosts/herra/file-system.nix index 42976ff..21a5c7c 100644 --- a/hosts/herra/file-system.nix +++ b/hosts/herra/file-system.nix @@ -1,6 +1,20 @@ {...}: { fileSystems."/nix" = { - options = [ "compress=zstd:3" "noatime" ]; + options = ["compress=zstd:3" "noatime"]; neededForBoot = true; }; + + fileSystems."/run/media/mun/GAMES" = { + device = "98b14e50-7f6e-476a-9a48-bffd97348bef"; + options = [ + "nofail" + "rw" + "uid=1000" + "gid=100" + "windows_names" + "big_writes" + "noatime" + ]; + neededForBoot = false; + }; } -- cgit v1.2.3 From f963e76fe10e1c9c5a6ae1d1969f61fbf5f51050 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Wed, 13 May 2026 18:25:57 +0200 Subject: Fixed GAMES not auto mounting by making it a systemd mount --- hosts/herra/file-system.nix | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) (limited to 'hosts') diff --git a/hosts/herra/file-system.nix b/hosts/herra/file-system.nix index 21a5c7c..dc9e63d 100644 --- a/hosts/herra/file-system.nix +++ b/hosts/herra/file-system.nix @@ -4,17 +4,34 @@ neededForBoot = true; }; - fileSystems."/run/media/mun/GAMES" = { - device = "98b14e50-7f6e-476a-9a48-bffd97348bef"; - options = [ - "nofail" - "rw" - "uid=1000" - "gid=100" - "windows_names" - "big_writes" - "noatime" - ]; - neededForBoot = false; - }; + # 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) + 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 -" + ]; } -- cgit v1.2.3 From 429a0f25909059f4e649e7906bb25791c99353fa Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Thu, 14 May 2026 22:21:27 +0200 Subject: Removed the broken and stupid iddea --- hosts/herra/file-system.nix | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'hosts') diff --git a/hosts/herra/file-system.nix b/hosts/herra/file-system.nix index dc9e63d..07ba0fa 100644 --- a/hosts/herra/file-system.nix +++ b/hosts/herra/file-system.nix @@ -21,17 +21,19 @@ # TODO: FIX ^ # For now use the patch below (ik this is 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 -" - ]; + # 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 -" + # ]; } -- cgit v1.2.3