🔥
This commit is contained in:
parent
756d4347fd
commit
ddd3a2096d
2 changed files with 23 additions and 19 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
description = "flake to deploy and manage cccb k8s cluster";
|
description = "flake to deploy and manage cccb k8s cluster";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
nixpkgs-k8s.url = "github:NixOS/nixpkgs/4acc7f1d238d2b4f5d86bc65ca9b703d802e6e02"; # kubernetes 1.33.4
|
nixpkgs-k8s.url = "github:NixOS/nixpkgs/771c08bfa8c7da5ab251a1d0d56fb01948f45473"; # kubernetes 1.34.3
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
# debugging
|
# debugging
|
||||||
age
|
age
|
||||||
etcd
|
etcd_3_6
|
||||||
openssl
|
openssl
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@ let
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
./common.nix
|
|
||||||
];
|
];
|
||||||
mkSystem =
|
mkSystem =
|
||||||
extraModules:
|
extraModules:
|
||||||
|
|
@ -52,11 +51,16 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"k8s" = mkSystem [
|
"k8s" = mkSystem [
|
||||||
./configuration.nix
|
# ./configuration.nix
|
||||||
{
|
{
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
useEFIBoot = true;
|
useEFIBoot = true;
|
||||||
libvirtd.enable = true;
|
libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
nss.enableGuest = true;
|
||||||
|
startDelay = 1;
|
||||||
|
onShutdown = "shutdown";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue