feat: update flake dependencies and add openssh service config
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
./tailscale.nix
|
||||
# ./headscale.nix
|
||||
# ./shitpost.nix
|
||||
./openssh.nix
|
||||
];
|
||||
services = {
|
||||
nix-serve = {
|
||||
|
||||
8
nixos/tako/services/openssh.nix
Normal file
8
nixos/tako/services/openssh.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{...}: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "prohibit-password";
|
||||
pubKeyAuthentication = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user