nixos-configuration/my/home/default.nix
Vinzenz Schroeter 48024a6bae home submodule
2023-09-09 15:11:49 +02:00

26 lines
386 B
Nix

{
config,
pkgs,
lib,
...
}:
with lib; let
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;
};
}