WIP: rewrite config #618
1 changed files with 6 additions and 4 deletions
|
@ -10,10 +10,12 @@
|
|||
neededForUsers = true;
|
||||
sopsFile = ./password.yaml;
|
||||
};
|
||||
environment.persistence."/persistent" = {
|
||||
directories = ["/root/.cache/nix"]; # for sanity
|
||||
files = ["/root/.bash_history"];
|
||||
home-manager.users.root = {config, ...}: {
|
||||
home.persistence."/persistent${config.home.username}" = {
|
||||
files = [
|
||||
".bash_history"
|
||||
];
|
||||
};
|
||||
};
|
||||
home-manager.users.root = {};
|
||||
environment.impermanence.users = ["root"];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue