feat: update flake dependencies and add openssh service config

This commit is contained in:
uttarayan21
2025-11-26 21:07:30 +05:30
parent 6a04621728
commit a8ece6cf19
3 changed files with 123 additions and 114 deletions

View File

@@ -22,6 +22,7 @@
./tailscale.nix
# ./headscale.nix
# ./shitpost.nix
./openssh.nix
];
services = {
nix-serve = {

View File

@@ -0,0 +1,8 @@
{...}: {
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "prohibit-password";
pubKeyAuthentication = true;
};
}