setup nix-topology

This commit is contained in:
2025-05-30 01:25:08 +02:00
parent a0c2c41d17
commit aab09abc52
10 changed files with 262 additions and 0 deletions

View File

@@ -92,6 +92,29 @@
};
}
);
topology =
nixpkgs.lib.genAttrs
[
"x86_64-linux"
"aarch64-linux"
]
(
system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ inputs.nix-topology.overlays.default ];
};
in
import inputs.nix-topology {
inherit pkgs;
modules = [
{ inherit (self) nixosConfigurations; }
./topology.nix
];
}
);
};
inputs = {
@@ -127,6 +150,10 @@
url = "github:linkfrg/ignis";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-topology = {
url = "github:oddlama/nix-topology";
inputs.nixpkgs.follows = "nixpkgs";
};
};
nixConfig = {