mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
12 lines
374 B
Nix
12 lines
374 B
Nix
{ inputs, config, lib, ... }:
|
|
{
|
|
|
|
options.swarselsystems.modules.home-manager = lib.mkEnableOption "home-manager";
|
|
config = lib.mkIf config.swarselsystems.modules.home-manager {
|
|
home-manager = lib.mkIf config.swarselsystems.withHomeManager {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
extraSpecialArgs = { inherit (inputs) self; };
|
|
};
|
|
};
|
|
}
|