Changed location of some persistence files
This commit is contained in:
parent
81c37abadd
commit
68c241f31a
@ -19,6 +19,14 @@ in
|
|||||||
modules = {
|
modules = {
|
||||||
bootloader.enable = mkDefault true;
|
bootloader.enable = mkDefault true;
|
||||||
ssh.enable = mkDefault true;
|
ssh.enable = mkDefault true;
|
||||||
|
|
||||||
|
# Setup sensible default persistent data
|
||||||
|
impermanence.directories = [
|
||||||
|
"/var/lib/nixos"
|
||||||
|
];
|
||||||
|
impermanence.files = [
|
||||||
|
"/etc/shadow"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Localization
|
# Localization
|
||||||
|
@ -25,7 +25,6 @@ in
|
|||||||
};
|
};
|
||||||
impermanence = {
|
impermanence = {
|
||||||
enable = true;
|
enable = true;
|
||||||
directories = [ "/var/lib/nixos" ];
|
|
||||||
resetScript = ''
|
resetScript = ''
|
||||||
# Revert to the blank state for the root directory
|
# Revert to the blank state for the root directory
|
||||||
zfs rollback -r tank/root@blank
|
zfs rollback -r tank/root@blank
|
||||||
@ -39,7 +38,7 @@ in
|
|||||||
initialPassword = "local";
|
initialPassword = "local";
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
openssh.authorizedKeys.keys = [
|
openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKKxoQSxfYqf9ITN8Fhckk8WbY4dwtBAXOhC9jxihJvq jan@bulthuis.dev"
|
"ssh-ed25519 jan@bulthuis.dev"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user