blob: dc9e63d63ba5ab32b96b58420a0da1f6d91d9e18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{...}: {
fileSystems."/nix" = {
options = ["compress=zstd:3" "noatime"];
neededForBoot = true;
};
# 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 -"
];
}
|