remove polaris-14 pr

This commit is contained in:
2023-08-08 19:42:51 +02:00
parent 1a5d66090f
commit 95188f8cd3
2 changed files with 4 additions and 15 deletions
+1 -14
View File
@@ -29,10 +29,6 @@
# TODO: somehow make these private repos optional (a lazy fetch would be nice)
pbsds-papers.url = "git+ssh://git@github.com/pbsds/papers.git";
# temporary stuff i want to use
# TODO: can i fetch a subset of files of these?
pr-polaris14.url = "github:pbsds/nixpkgs/polaris-14";
};
nixConfig.extra-substituters = [
@@ -82,22 +78,13 @@
#"riscv64-linux"
];
# TODO: move unstable here?
tmpConfig = {
disabledModules = [ "services/misc/polaris.nix" ];
imports = [ "${inputs.pr-polaris14}/nixos/modules/services/misc/polaris.nix" ];
nixpkgs.overlays = [(final: prev: { # TODO: nixpkgs.config.packageOverrides ?
polaris = prev.callPackage "${inputs.pr-polaris14}/pkgs/servers/polaris" { };
polaris-web = prev.callPackage "${inputs.pr-polaris14}/pkgs/servers/polaris/web.nix" { };
})];
};
mkConfig = hostname: domain: system: modules: nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
flakes = flake inputs system;
};
modules = modules ++ [ ./base.nix "${self}/hosts/${hostname}" tmpConfig ({
modules = modules ++ [ ./base.nix "${self}/hosts/${hostname}" ({
home-manager.extraSpecialArgs = {
inherit inputs;
flakes = flake inputs system;