init k3s config
not finished but a pointer in the right direction
This commit is contained in:
parent
6c7781e325
commit
8a2acb343b
3 changed files with 76 additions and 2 deletions
28
configurations/nixos/kube-main-tofu/default.nix
Normal file
28
configurations/nixos/kube-main-tofu/default.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
flake,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (flake) inputs;
|
||||
inherit (inputs) self;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
self.nixosModules.default
|
||||
];
|
||||
deploy = {
|
||||
enable = false;
|
||||
};
|
||||
kub = {
|
||||
enable = true;
|
||||
role = "server";
|
||||
};
|
||||
networking = {
|
||||
hostName = "kube-main-tofu";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
];
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue