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(-) 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