nixos-config/users/home-manager.nix
Charlotte 🦝 Delenk 50749a0260
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
add impermanence module to home-manager
2024-11-03 09:40:49 +01:00

27 lines
443 B
Nix

{
home-manager,
impermanence,
inputs,
inputs',
config,
...
}: {
imports = [
"${home-manager}/nixos"
];
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
backupFileExtension = "backup";
extraSpecialArgs =
inputs
// {
inherit inputs inputs';
systemConfig = config;
};
sharedModules = [
./common
"${impermanence}/home-manager.nix"
];
};
}