NixOS-Vista/nixosVista/default.nix
2026-02-12 15:32:45 +01:00

29 lines
497 B
Nix

{
config,
lib,
pkgs,
...
}: let
cfg = config.nixosVista;
in {
imports = [
./options.nix
./desktop.nix
./systemWide
];
config = lib.mkIf cfg.enable {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
# This is so cool maybe we implement this in NixOS95 (just a thought)
home-manager.sharedModules = [
{
_module.args = {
nixosVista = cfg;
};
imports = [./homeManager];
}
];
};
}