nixos-config/modules/home-manager.nix

31 lines
630 B
Nix

{
lib,
inputs,
config,
...
}: let
dwl-source = inputs.dwl-source;
in {
imports = [
inputs.home-manager.nixosModules.home-manager
];
config = {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "hm_bak";
home-manager.extraSpecialArgs = {
inherit inputs;
inherit dwl-source;
};
home-manager.users.xqtc = {...}: {
imports = [
{config.host = config.networking.hostName;}
../home
inputs.nixvim.homeManagerModules.nixvim
inputs.sops-nix.homeManagerModules.sops
];
};
};
}