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