aboutsummaryrefslogtreecommitdiff
path: root/hosts/herra/file-system.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/herra/file-system.nix')
-rw-r--r--hosts/herra/file-system.nix43
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 -"
+ ];
}