Add home and update ips for k3s
This commit is contained in:
19
homes/x86_64-linux/yadunut@nut-gc2/default.nix
Normal file
19
homes/x86_64-linux/yadunut@nut-gc2/default.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
zsh.enable = true;
|
||||||
|
neovim.enable = true;
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
rsync
|
||||||
|
zellij
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
home.stateVersion = "25.11";
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
}
|
||||||
@@ -26,8 +26,8 @@ in
|
|||||||
role = "agent";
|
role = "agent";
|
||||||
tokenFile = config.age.secrets.k3s.path;
|
tokenFile = config.age.secrets.k3s.path;
|
||||||
clusterInit = false;
|
clusterInit = false;
|
||||||
serverAddr = "https://10.222.0.87:6443";
|
serverAddr = "https://10.222.0.13:6443";
|
||||||
nodeIp = "10.222.0.???";
|
nodeIp = "10.222.0.87";
|
||||||
iface = "ztxh6lvd6t";
|
iface = "ztxh6lvd6t";
|
||||||
};
|
};
|
||||||
networking.hostName = "nut-gc2";
|
networking.hostName = "nut-gc2";
|
||||||
|
|||||||
Reference in New Issue
Block a user