add impermanence module to home-manager
All checks were successful
Hydra nixosConfigurations.not522 Hydra build #23341 of nixos-config:pr618:nixosConfigurations.not522
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23340 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23339 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23338 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra checks.x86_64-linux.containers-default Hydra build #23337 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23342 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-03 09:40:49 +01:00
parent 7b2bae742d
commit 50749a0260
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@
}; };
sharedModules = [ sharedModules = [
./common ./common
"${impermanence}/home-manager.nix"
]; ];
}; };
} }

View file

@ -11,7 +11,7 @@
sopsFile = ./password.yaml; sopsFile = ./password.yaml;
}; };
home-manager.users.root = {config, ...}: { home-manager.users.root = {config, ...}: {
home.persistence."/persistent${config.home.username}" = { home.persistence."/persistent/${config.home.username}" = {
files = [ files = [
".bash_history" ".bash_history"
]; ];