sshlog: move out of skyflake
This commit is contained in:
parent
693b6d2559
commit
345b7a0a83
|
@ -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
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue