1
1
Fork 0

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
1 changed files with 3 additions and 8 deletions

View File

@ -10,8 +10,6 @@ in {
beatific.hostName = "catacomb"; beatific.hostName = "catacomb";
beatific.defaults = { beatific.defaults = {
programs = false;
ssh = false;
nebula = false; nebula = false;
tvb = false; tvb = false;
}; };
@ -31,6 +29,7 @@ in {
swapDevices = [ { device = "/swap"; size = 1024; } ]; 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; environment.systemPackages = with pkgs;
let let
py3-packages = python-packages: with python-packages; [ py3-packages = python-packages: with python-packages; [
@ -54,8 +53,7 @@ in {
hostId = "beeeeee5"; hostId = "beeeeee5";
firewall = { firewall = {
enable = true; enable = true;
allowPing = true; allowedTCPPorts = [ 139 445 ];
allowedTCPPorts = [ 22 139 445 ];
allowedUDPPorts = [ 137 138 ]; allowedUDPPorts = [ 137 138 ];
}; };
}; };
@ -75,10 +73,7 @@ in {
]; ];
}; };
services.openssh = { services.openssh.passwordAuthentication = true;
enable = true;
passwordAuthentication = true;
};
services.rsyncd.enable = true; services.rsyncd.enable = true;