sisyphus/nixos/modules/programs/home-manager/default.nix

16 lines
323 B
Nix
Raw Normal View History

2023-10-17 23:14:25 +02:00
{ config, lib, pkgs, ... }:
let
cfg = config.sisyphus.programs.home-manager;
in {
options.sisyphus.programs.home-manager.enable = lib.mkEnableOption "Home-manager";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
home-manager
];
home-manager.useGlobalPkgs = true;
};
}