Simplify flake

This commit is contained in:
Jimbo 2025-01-10 13:36:38 -05:00
parent 6cff17017b
commit 1a83d6b195
3 changed files with 6 additions and 30 deletions

View file

@ -41,34 +41,16 @@
nur,
blender,
...
}:
}@inputs:
let
mkNix = modules: nixpkgs.lib.nixosSystem {
inherit modules;
specialArgs = {
inherit
self
unstable
lanzaboote
disko
impermanence
mailserver
minecraft
home-manager
nur
blender
;
};
specialArgs = inputs;
};
mkHome = modules: pkgs: home-manager.lib.homeManagerConfiguration {
inherit modules pkgs;
extraSpecialArgs = {
inherit
unstable
nur
blender
;
};
extraSpecialArgs = inputs;
};
in {
# nixos-rebuild switch --flake /etc/nixos#hostname