feat(hosts): cifs mount

This commit is contained in:
Ryan Yin
2024-04-12 21:24:35 +08:00
parent 869aafd25b
commit 5b2d09d0e7
10 changed files with 39 additions and 26 deletions
@@ -37,14 +37,13 @@
"ntfs"
"fat"
"vfat"
"cifs" # mount windows share
];
# clear /tmp on boot to get a stateless /tmp directory.
boot.tmp.cleanOnBoot = true;
boot.initrd = {
# unlocked luks devices via a keyfile or prompt a passphrase.
luks.devices."crypted-nixos" = {
luks.devices."encrypted-nixos" = {
device = "/dev/nvme0n1p4";
# the keyfile(or device partition) that should be used as the decryption key for the encrypted device.
# if not specified, you will be prompted for a passphrase instead.