Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Nov 7, 2024
1 parent 3923c0a commit 5bc5bed
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hosts/abhoth/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ withSystem "x86_64-linux" (
allowUnfree = true;
allowUnsupportedSystem = true;
};
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; });
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
specialArgs = {
inherit
Expand Down
2 changes: 1 addition & 1 deletion hosts/azasos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ withSystem "x86_64-linux" (
allowUnfree = true;
allowUnsupportedSystem = true;
};
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; }) ++ [ self.overlays.default ];
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
specialArgs = {
inherit
Expand Down
2 changes: 1 addition & 1 deletion hosts/colour/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ withSystem "x86_64-linux" (
allowUnfree = true;
allowUnsupportedSystem = true;
};
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; }) ++ [ self.overlays.default ];
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
specialArgs = {
inherit
Expand Down
2 changes: 1 addition & 1 deletion hosts/eihort/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ withSystem "x86_64-linux" (
pkgs = import inputs.nixpkgs {
inherit system;
config = { };
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; }) ++ [ self.overlays.default ];
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
specialArgs = {
inherit
Expand Down
2 changes: 1 addition & 1 deletion hosts/hastur/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ withSystem "x86_64-linux" (
"olm-3.2.16"
];
};
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; }) ++ [ self.overlays.default ];
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
specialArgs = {
inherit
Expand Down
2 changes: 1 addition & 1 deletion hosts/kaambl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ withSystem "x86_64-linux" (
allowUnfree = true;
allowUnsupportedSystem = true;
};
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; }) ++ [ self.overlays.default ];
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
specialArgs = {
inherit
Expand Down
4 changes: 4 additions & 0 deletions hosts/lib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ in

genOverlays = map (i: inputs.${i}.overlays.default);

hostOverlays =
{ inputs', inputs }:
(import ../overlays.nix { inherit inputs' inputs; }) ++ [ inputs.self.overlays.default ];

iage = type: import ../age { inherit type; };

sharedModules =
Expand Down
2 changes: 1 addition & 1 deletion hosts/nodens/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ withSystem "x86_64-linux" (
"factorio-headless"
];
};
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; }) ++ [ self.overlays.default ];
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
specialArgs = {
inherit
Expand Down
2 changes: 1 addition & 1 deletion hosts/yidhra/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ withSystem "x86_64-linux" (
# contentAddressedByDefault = true;
allowUnfree = true;
};
overlays = (import "${self}/overlays.nix" { inherit inputs' inputs; }) ++ [ self.overlays.default ];
overlays = lib.hostOverlays { inherit inputs inputs'; };
};
}

Expand Down

0 comments on commit 5bc5bed

Please sign in to comment.