use system nixpkgs as registry

This commit is contained in:
lelgenio 2022-11-17 15:12:27 -03:00
parent 20cd9f93ad
commit be64cd21eb
2 changed files with 8 additions and 5 deletions

View file

@ -44,6 +44,7 @@
config = { allowUnfree = true; };
};
lib = nixpkgs.lib;
specialArgs = { inherit inputs; };
common_modules = [
./system/configuration.nix
# nur.nixosModules.nur
@ -68,20 +69,20 @@
in {
nixosConfigurations = {
i15 = lib.nixosSystem {
inherit system;
inherit system specialArgs;
modules = [ ./hosts/i15.nix ] ++ common_modules;
};
monolith = lib.nixosSystem {
inherit system;
inherit system specialArgs;
modules = [ ./hosts/monolith.nix ./system/gitlab-runner.nix ]
++ common_modules;
};
rainbow = lib.nixosSystem {
inherit system;
inherit system specialArgs;
modules = [ ./hosts/rainbow.nix ] ++ common_modules;
};
pixie = lib.nixosSystem {
inherit system;
inherit system specialArgs;
modules = [ ./hosts/pixie.nix ] ++ common_modules ++ [{
packages.media-packages.enable = lib.mkOverride 0 false;
programs.steam.enable = lib.mkOverride 0 false;