mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-24 04:23:55 +01:00
31 lines
630 B
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
|
|
];
|
|
};
|
|
};
|
|
}
|