Mount zfs keyfile store
This commit is contained in:
parent
4dd1cefb30
commit
2a45f5837e
1 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,11 @@ in {
|
||||||
fileSystems."/storage/dataset".options = ["noauto"];
|
fileSystems."/storage/dataset".options = ["noauto"];
|
||||||
fileSystems."/storage".options = ["noauto"];
|
fileSystems."/storage".options = ["noauto"];
|
||||||
|
|
||||||
|
fileSystems."/home/ghoscht/.zfs" = {
|
||||||
|
device = "/dev/disk/by-label/SECRET_KEYS";
|
||||||
|
fsType = "vfat";
|
||||||
|
};
|
||||||
|
|
||||||
users.mutableUsers = true;
|
users.mutableUsers = true;
|
||||||
users.users.${vars.user} = {
|
users.users.${vars.user} = {
|
||||||
password = "changeme";
|
password = "changeme";
|
||||||
|
|
Loading…
Reference in a new issue