sshlog: move out of skyflake

This commit is contained in:
Sandro - 2023-11-11 02:34:12 +01:00
parent 693b6d2559
commit 345b7a0a83
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 16 additions and 5 deletions

View File

@ -699,9 +699,10 @@
sshlog = nixosSystem' { sshlog = nixosSystem' {
modules = [ modules = [
self.nixosModules.cluster-options
sshlogd.nixosModule
./hosts/sshlog ./hosts/sshlog
self.nixosModules.cluster-options
self.nixosModules.microvm
sshlogd.nixosModule
]; ];
}; };

View File

@ -1,12 +1,16 @@
{ config, lib, pkgs, ... }: { config, pkgs, ... }:
{ {
deployment.mem = 512; deployment.mem = 512;
c3d2.hq.statistics.enable = true; c3d2 = {
deployment.server = "server10";
hq.statistics.enable = true;
};
networking = { networking = {
hostName = "sshlog"; hostName = "sshlog";
firewall.allowedTCPPorts = [ firewall.allowedTCPPorts = [
22 # not using openssh module 22 # not using openssh module
2222
]; ];
}; };
@ -39,7 +43,13 @@
}; };
}; };
openssh.enable = lib.mkForce false; openssh = {
enable = true;
ports = [ 2222 ];
};
sshlogd.enable = true; sshlogd.enable = true;
}; };
system.stateVersion = "23.05";
} }