Set up impermanence
This commit is contained in:
1 parent
01021d179d
commit
b0a8874a93
3 files changed
+84
No files matched your search
@@ -23,6 +23,14 @@ in
|
||||
enable = true;
|
||||
profile = "vm";
|
||||
};
|
||||
impermanence = {
|
||||
enable = true;
|
||||
directories = [ "/var/lib/nixos" ];
|
||||
resetScript = ''
|
||||
# Revert to the blank state for the root directory
|
||||
zfs rollback -r tank/root@blank
|
||||
'';
|
||||
};
|
||||
ssh.enable = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user