fix: waybar module

This commit is contained in:
DACHXY 2025-03-26 13:21:21 +08:00 committed by DACHXY
parent 67826a3658
commit a29782681a
3 changed files with 7 additions and 2 deletions

View file

@ -84,8 +84,8 @@
"modules-right": [ "modules-right": [
"wlr/taskbar", "wlr/taskbar",
"custom/wireguard",
"temperature", "temperature",
"custom/wireguard",
"idle_inhibitor", "idle_inhibitor",
"network", "network",
"pulseaudio", "pulseaudio",

View file

@ -56,4 +56,9 @@ in
]; ];
}; };
}; };
users.users."${username}".openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILSHkPa6vmr5WBPXAazY16+Ph1Mqv9E24uLIf32oC2oH danny@phone.dn"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJSAOufpee7f8D8ONIIGU3qsN+8+DGO7BfZnEOTYqtQ5 danny@pre7780.dn"
];
} }

View file

@ -20,7 +20,7 @@
settings = { settings = {
PasswordAuthentication = false; PasswordAuthentication = false;
AllowUsers = [ username ]; AllowUsers = [ username ];
UseDns = true; UseDns = false;
PermitRootLogin = "no"; PermitRootLogin = "no";
}; };
}; };