nixos-configuration/modules/home/default.nix

25 lines
376 B
Nix
Raw Normal View History

2023-09-09 15:11:49 +02:00
{
config,
pkgs,
lib,
...
}: let
2023-09-09 15:11:49 +02:00
cfg = config.my.home;
in {
imports = [
./vinzenz.nix
./ronja.nix
# enable home manager
<home-manager/nixos>
];
options.my.home = {
enable = lib.mkEnableOption "my home management";
};
config = lib.mkIf cfg.enable {
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
};
}