diff options
Diffstat (limited to 'modules/root/home-manager.nix')
-rw-r--r-- | modules/root/home-manager.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/root/home-manager.nix b/modules/root/home-manager.nix new file mode 100644 index 0000000..d271523 --- /dev/null +++ b/modules/root/home-manager.nix @@ -0,0 +1,11 @@ +{ pkgs, lib, config, ... }: { + options = { + home-manager.enable = lib.mkEnableOption "enables home-manager"; + }; + + config = lib.mkIf config.home-manager.enable { + environment.systemPackages = with pkgs; [ + home-manager + ]; + }; +} |