Ver 1.0
This commit is contained in:
parent
b6b87d5aed
commit
9c72a71585
3546 changed files with 18655 additions and 0 deletions
29
nixosVista/default.nix
Normal file
29
nixosVista/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
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];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue