disable nixos-generators input as its broken a. makes infra-rebuild fail

This commit is contained in:
June 2025-12-27 23:21:35 +01:00
commit b16f0190e0
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0
2 changed files with 37 additions and 88 deletions

View file

@ -8,12 +8,12 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
# Add nixos-generators as an input.
# See here: https://github.com/nix-community/nixos-generators#using-in-a-flake
nixos-generators = {
url = "github:nix-community/nixos-generators";
#inputs.nixpkgs.follows = "nixpkgs";
};
# # Add nixos-generators as an input.
# # See here: https://github.com/nix-community/nixos-generators#using-in-a-flake
# nixos-generators = {
# url = "github:nix-community/nixos-generators";
# #inputs.nixpkgs.follows = "nixpkgs";
# };
# Add sops-nix as an input for secret management.
# See here: https://github.com/Mic92/sops-nix?tab=readme-ov-file#flakes-current-recommendation
@ -28,7 +28,7 @@
};
};
outputs = { self, nixpkgs, nixos-generators, nixpkgs-unstable, sops-nix, authorizedKeysRepo, ... }:
outputs = { self, nixpkgs, nixpkgs-unstable, sops-nix, authorizedKeysRepo, ... }:
let
specialArgs = {
inherit authorizedKeysRepo;
@ -233,30 +233,30 @@
};
};
packages.x86_64-linux = {
proxmox-nixos-template = nixos-generators.nixosGenerate {
inherit specialArgs;
system = "x86_64-linux";
modules = [
./config/nixos-generators/proxmox.nix
self.nixosModules.common
self.nixosModules.proxmox-vm
];
format = "proxmox";
};
# packages.x86_64-linux = {
# proxmox-nixos-template = nixos-generators.nixosGenerate {
# inherit specialArgs;
# system = "x86_64-linux";
# modules = [
# ./config/nixos-generators/proxmox.nix
# self.nixosModules.common
# self.nixosModules.proxmox-vm
# ];
# format = "proxmox";
# };
proxmox-chaosknoten-nixos-template = nixos-generators.nixosGenerate {
inherit specialArgs;
system = "x86_64-linux";
modules = [
./config/nixos-generators/proxmox-chaosknoten.nix
./config/proxmox-chaosknoten-additional-initial-config.nix
self.nixosModules.common
self.nixosModules.proxmox-vm
];
format = "proxmox";
};
};
# proxmox-chaosknoten-nixos-template = nixos-generators.nixosGenerate {
# inherit specialArgs;
# system = "x86_64-linux";
# modules = [
# ./config/nixos-generators/proxmox-chaosknoten.nix
# ./config/proxmox-chaosknoten-additional-initial-config.nix
# self.nixosModules.common
# self.nixosModules.proxmox-vm
# ];
# format = "proxmox";
# };
# };
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;