diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-06-20 14:08:49 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-06-20 14:08:49 +0300 |
| commit | 016a6dbb7b84639a326a6bc6896d1e3101ac39d7 (patch) | |
| tree | 5d5fc11f36c57e5bd99d6088aa175587c5c449fe /modules/desktop.nix | |
| parent | 3e97855d0a7a800cf968d135c3f9d0fe5fac1fde (diff) | |
Fixed automatic mounting by using fileSystems instead of systemd.mounts
Diffstat (limited to 'modules/desktop.nix')
| -rw-r--r-- | modules/desktop.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/desktop.nix b/modules/desktop.nix index efbd4fc..f819186 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -14,4 +14,20 @@ boot.extraModprobeConfig = '' options nvidia NVreg_PreserveVideoMemoryAllocations=1 ''; + + + # Automaticaly mount C drive + fileSystems."/mnt/c" = { + device = "/dev/nvme1n1p4"; + fsType = "ntfs-3g"; + options = [ "rw" "noatime" "uid=1000" ]; + }; + + # Automatically mount E drive + fileSystems."/mnt/e" = { + device = "/dev/sda2"; + fsType = "ntfs-3g"; + options = [ "rw" "noatime" "uid=1000" ]; + }; + } |
