nixos-config/modules/home-manager.nix

28 lines
519 B
Nix

{
lib,
inputs,
...
}: 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.extraSpecialArgs = {
inherit inputs;
inherit dwl-source;
};
home-manager.users.xqtc = {...}: {
imports = [
../home
inputs.nixvim.homeManagerModules.nixvim
inputs.sops-nix.homeManagerModules.sops
];
};
};
}