From 016a6dbb7b84639a326a6bc6896d1e3101ac39d7 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Fri, 20 Jun 2025 14:08:49 +0300 Subject: Fixed automatic mounting by using fileSystems instead of systemd.mounts --- modules/systemd.nix | 7 ------- 1 file changed, 7 deletions(-) (limited to 'modules/systemd.nix') diff --git a/modules/systemd.nix b/modules/systemd.nix index 8ea13db..9c6f4a4 100644 --- a/modules/systemd.nix +++ b/modules/systemd.nix @@ -65,11 +65,4 @@ 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"]; } - ]; - } -- cgit v1.3.1