mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 07:38:19 +01:00
laptop: change storage mounts
This commit is contained in:
parent
216bb8b5a8
commit
28e385a147
1 changed files with 13 additions and 14 deletions
|
|
@ -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";
|
};
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue