summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-06-17 10:59:01 +0300
committerKyren223 <Kyren223@proton.me>2025-06-17 10:59:01 +0300
commit56ea48ff7820d0532e8e4acaf6fa59badce4965b (patch)
tree6e59c6d7a3dc09b6e537e53e43312097501d29cd /modules
parentdf48f7d9cc3c6a4245d549b41385bac7bd2ad986 (diff)
Replaced manual mounting in .zshrc with better mounting using systemd
Diffstat (limited to 'modules')
-rw-r--r--modules/systemd.nix (renamed from modules/timers.nix)7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/timers.nix b/modules/systemd.nix
index 9c6f4a4..8ea13db 100644
--- a/modules/timers.nix
+++ b/modules/systemd.nix
@@ -65,4 +65,11 @@
serviceConfig = { Type = "oneshot"; User = "kyren"; };
};
+ ###########################################################################
+
+ systemd.mounts = [
+ { what = "/dev/nvme1n1p4"; where = "/mnt/c"; type = "ntfs"; options = "rw,noatime"; wantedBy = ["multi-user.target"]; }
+ { what = "/dev/sda2"; where = "/mnt/e"; type = "ntfs"; options = "rw,noatime"; wantedBy = ["multi-user.target"]; }
+ ];
+
}