Add ansible key and nopasswd to sudo to enable ansible updates
This commit is contained in:
parent
a7b359fa22
commit
0c6d6c4769
1 changed files with 6 additions and 0 deletions
|
|
@ -33,6 +33,10 @@
|
|||
envfs.enable = true;
|
||||
};
|
||||
|
||||
users.users."nest".openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKitQh7D9pKVECI4+fxr5M1gRzdCbEsrISWeiK4LJ7wd nest@mynest.love"
|
||||
];
|
||||
|
||||
# Enable K3s in Agent Mode
|
||||
services.k3s = {
|
||||
enable = true;
|
||||
|
|
@ -134,6 +138,8 @@
|
|||
];
|
||||
};
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue