mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-19 02:50:12 +01:00
25 lines
376 B
Nix
25 lines
376 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
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;
|
|
};
|
|
}
|