laptop: change storage mounts

This commit is contained in:
Lgmrszd 2025-03-16 13:06:46 +04:00
parent 216bb8b5a8
commit 28e385a147
No known key found for this signature in database
GPG key ID: 9396B8BA6FBB14DE

View file

@ -1,16 +1,15 @@
{ {
systemd.mounts = [ environment.etc.crypttab = {
{ mode = "0600";
where = "/mounts/my_data"; text = ''
what = "/dev/disk/by-label/My_Data"; shared PARTUUID=7572b70e-36d1-41a8-b425-540b96092ff6 /dev/null tcrypt,tcrypt-veracrypt,tcrypt-keyfile=/root/shared_keyfile
type = "ntfs3"; '';
options = "defaults,exec,noauto,prealloc,uid=1000,gid=100"; };
}
{ fileSystems."/mounts/shared" =
where = "/mounts/windows"; { device = "/dev/mapper/shared";
what = "/dev/disk/by-label/WinPart"; fsType = "ntfs3";
type = "ntfs3"; options = [ "defaults,exec,nosuid,nodev,prealloc,uid=1000,gid=100" ];
options = "defaults,exec,noauto,prealloc,uid=1000,gid=100"; };
}
];
} }