Enable defaults.ssh, leave defaults.programs

This commit is contained in:
Tim Van Baak 2023-08-02 17:12:05 +00:00
parent 83cbd95c95
commit a4089b030f

View File

@ -10,8 +10,6 @@ in {
beatific.hostName = "catacomb";
beatific.defaults = {
programs = false;
ssh = false;
nebula = false;
tvb = false;
};
@ -31,6 +29,7 @@ in {
swapDevices = [ { device = "/swap"; size = 1024; } ];
beatific.defaults.programs = false; # Disabled until I know the flask-python env isn't necessary for something
environment.systemPackages = with pkgs;
let
py3-packages = python-packages: with python-packages; [
@ -54,8 +53,7 @@ in {
hostId = "beeeeee5";
firewall = {
enable = true;
allowPing = true;
allowedTCPPorts = [ 22 139 445 ];
allowedTCPPorts = [ 139 445 ];
allowedUDPPorts = [ 137 138 ];
};
};
@ -75,10 +73,7 @@ in {
];
};
services.openssh = {
enable = true;
passwordAuthentication = true;
};
services.openssh.passwordAuthentication = true;
services.rsyncd.enable = true;