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