disable nixos-generators input as its broken a. makes infra-rebuild fail
This commit is contained in:
parent
5a989fff69
commit
b16f0190e0
2 changed files with 37 additions and 88 deletions
60
flake.nix
60
flake.nix
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue