master
Rachel Lambda Samuelsson 2023-10-18 18:56:29 +02:00
parent 30ab66549f
commit c71ab8ea85
2 changed files with 23 additions and 1 deletions

View File

@ -350,5 +350,19 @@ in
''; in "${tmux-menu}";
};
};
ssh = {
enable = true;
matchBlocks = {
remarkable = {
hostname = "10.11.99.1";
user = "root";
};
lazarus = {
hostname = "rachel.cafe";
user = "deppy";
};
};
};
};
}

View File

@ -63,6 +63,14 @@
networking.nameservers = [ "8.8.8.8" ];
networking.resolvconf.dnsExtensionMechanism = false;
services.openssh = {
enable = true;
settings = {
PasswordAuthentication = true;
PermitRootLogin = false;
};
};
# [NFS]
fileSystems."/home/rachel/music" = {
device = "rachel.cafe:/srv/music";
@ -145,7 +153,7 @@
# [SECURITY / FIREWALL]
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [ ];
networking.firewall.allowedTCPPorts = [ 22 ];
networking.firewall.allowedUDPPorts = [ ];
programs.gnupg.agent = {
enable = true;