refactor overlays

This commit is contained in:
iofq 2026-02-21 20:45:27 -06:00
parent 8694c7d81f
commit 802074f233
9 changed files with 119 additions and 124 deletions

View file

@ -1,7 +1,6 @@
{
inputs,
pkgs,
pkgs-stable,
attrs,
system,
...
@ -12,10 +11,10 @@ let
inputs.sops-nix.nixosModules.sops
inputs.nix-index-database.nixosModules.nix-index
# inputs.determinate.nixosModules.default # https://github.com/serokell/deploy-rs/issues/340
] ++ builtins.attrValues
(builtins.mapAttrs
(name: _: ./modules/${name})
(builtins.readDir ./modules));
]
++ builtins.attrValues (
builtins.mapAttrs (name: _: ./modules/${name}) (builtins.readDir ./modules)
);
in
{
t14 = inputs.nixpkgs.lib.nixosSystem {
@ -33,7 +32,7 @@ in
];
};
consensus = inputs.nixpkgs-stable.lib.nixosSystem {
pkgs = pkgs-stable;
pkgs = pkgs.stable;
specialArgs = {
pkgs-unstable = pkgs;
inherit inputs system attrs;
@ -47,7 +46,7 @@ in
];
};
zen = inputs.nixpkgs-stable.lib.nixosSystem {
pkgs = pkgs-stable;
pkgs = pkgs.stable;
specialArgs = {
inherit inputs system attrs;
host = {
@ -60,7 +59,7 @@ in
];
};
oracle1 = inputs.nixpkgs-stable.lib.nixosSystem {
pkgs = pkgs-stable;
pkgs = pkgs.stable;
specialArgs = {
inherit inputs system attrs;
host = {