fix hdd mount
This commit is contained in:
parent
64c6cefe44
commit
9b89e0fe64
@ -61,20 +61,16 @@
|
|||||||
deviceSpecific.vpn.sing-box.config = "ataraxia-singbox";
|
deviceSpecific.vpn.sing-box.config = "ataraxia-singbox";
|
||||||
|
|
||||||
# Mount
|
# Mount
|
||||||
# TODO: fix sops
|
fileSystems = {
|
||||||
sops.secrets.files-veracrypt.sopsFile = secretsDir + /amd-workstation/misc.yaml;
|
"/media/files" = {
|
||||||
services.cryptmount.files-veracrypt = {
|
|
||||||
what = "/dev/disk/by-partuuid/15fa11a1-a6d8-4962-9c03-74b209d7c46a";
|
|
||||||
where = "/media/files";
|
|
||||||
fsType = "ntfs";
|
fsType = "ntfs";
|
||||||
cryptType = "tcrypt";
|
device = "/dev/disk/by-partuuid/15fa11a1-a6d8-4962-9c03-74b209d7c46a";
|
||||||
passwordFile = config.sops.secrets.files-veracrypt.path;
|
options = [
|
||||||
mountOptions = [
|
"nofail"
|
||||||
"uid=${toString config.users.users.${config.mainuser}.uid}"
|
"uid=${toString config.users.users.${config.mainuser}.uid}"
|
||||||
"gid=${toString config.users.groups.users.gid}"
|
"gid=${toString config.users.groups.users.gid}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
fileSystems = {
|
|
||||||
"/media/win-sys" = {
|
"/media/win-sys" = {
|
||||||
fsType = "ntfs";
|
fsType = "ntfs";
|
||||||
device = "/dev/disk/by-partuuid/4fba33e7-6b47-4e3b-b18b-882a58032673";
|
device = "/dev/disk/by-partuuid/4fba33e7-6b47-4e3b-b18b-882a58032673";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user