nixos-config/users/home-manager.nix

28 lines
486 B
Nix
Raw Normal View History

2024-11-02 07:43:37 +00:00
{
impermanence,
inputs,
inputs',
config,
2024-11-06 08:55:04 +00:00
sops-nix,
self,
nixpkgs,
2024-11-24 13:59:35 +00:00
system,
2024-11-02 07:43:37 +00:00
...
2024-11-09 14:02:26 +00:00
}:
{
2024-11-02 07:43:37 +00:00
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
backupFileExtension = "backup-${self.shortRev or nixpkgs.shortRev}";
2024-11-09 14:02:26 +00:00
extraSpecialArgs = inputs // {
2024-11-24 13:59:35 +00:00
inherit inputs inputs' system;
2024-11-09 14:02:26 +00:00
systemConfig = config;
};
2024-11-02 07:43:37 +00:00
sharedModules = [
./common
"${impermanence}/home-manager.nix"
2024-11-06 08:55:04 +00:00
sops-nix.homeManagerModules.sops
2024-11-02 07:43:37 +00:00
];
};
}