This commit is contained in:
iFargle 2024-02-09 22:58:33 +09:00
parent 1b32d1ad06
commit f5c9ecac8c

View file

@ -43,15 +43,22 @@
type ? "default", type ? "default",
repo ? "nixpkgs", repo ? "nixpkgs",
unfree ? false unfree ? false
}: { }:
inputs.${repo}.lib.nixosSystem {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; };
pkgs = import inputs.${repo} { pkgs = import inputs.${repo} {
inherit system; inherit system;
config.allowUnfree = unfree; config.allowUnfree = unfree;
hostPlatform = system; hostPlatform = system;
}; };
inputs.${repo}.lib.nixosSystem { pkgs-unstable = import inputs.nixpkgs-unstable {
specialArgs = { inherit inputs outputs desktop hostname username stateVersion gpu system theme; }; inherit system;
config.allowUnfree = unfree;
hostPlatform = system;
};
modules = [ modules = [
# Types are 'default', 'small', and 'minimal' # Types are 'default', 'small', and 'minimal'
../nixos/${type}.nix ../nixos/${type}.nix