diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-05-13 18:25:57 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-05-13 18:26:07 +0200 |
| commit | f963e76fe10e1c9c5a6ae1d1969f61fbf5f51050 (patch) | |
| tree | b2bc0cdd64f7af4b11a4ff7e268265ec2bfa7794 | |
| parent | f47c74c35e2e5067f3c6da249d99c21263b36871 (diff) | |
Fixed GAMES not auto mounting by making it a systemd mount
| -rw-r--r-- | hosts/herra/file-system.nix | 43 |
1 files 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 -" + ]; } |
