infrastructure/nixos-configurations/default.nix
Fabian Hauser e76a4f04cc
Some checks failed
CI / build (push) Failing after 1m25s
CI / deploy (docs-ops.qo.is) (push) Has been skipped
CI / deploy (system-physical) (push) Has been skipped
CI / deploy (system-vm) (push) Has been skipped
Replace nixpkgs with stable and update inputs
2025-06-25 23:53:10 +03:00

24 lines
375 B
Nix

{
self,
pkgs,
nixpkgs,
...
}@inputs:
let
inherit (pkgs.lib) genAttrs;
inherit (nixpkgs.lib) nixosSystem;
configs = self.lib.foldersWithNix ./.;
in
genAttrs configs (
config:
nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
};
modules = [
self.nixosModules.default
./${config}/default.nix
];
}
)