2023-01-07 19:30:15 +00:00
|
|
|
# atlanticaweb.fr 37.187.103.8/24
|
2022-05-26 10:55:06 +00:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./webserver.nix
|
|
|
|
./firewall-web.nix
|
2023-12-05 16:11:20 +00:00
|
|
|
modules/gitea.nix
|
|
|
|
modules/prometheus-node.nix
|
|
|
|
modules/common.nix
|
|
|
|
modules/users.nix
|
2023-04-14 14:45:23 +00:00
|
|
|
# ../docker/appsmith.nix
|
2023-12-05 16:11:20 +00:00
|
|
|
docker/kuma.nix
|
|
|
|
modules/syncthing.nix
|
2022-05-26 10:55:06 +00:00
|
|
|
];
|
|
|
|
|
2023-12-05 16:11:20 +00:00
|
|
|
system.stateVersion = "23.11";
|
2022-07-02 18:20:21 +00:00
|
|
|
|
2023-06-22 09:40:16 +00:00
|
|
|
boot.tmp.cleanOnBoot = true;
|
2022-05-26 10:55:06 +00:00
|
|
|
zramSwap.enable = false;
|
|
|
|
networking.hostName = "web";
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
2023-06-22 09:40:16 +00:00
|
|
|
settings = {
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
KbdInteractiveAuthentication = false;
|
|
|
|
};
|
2023-12-05 16:11:20 +00:00
|
|
|
};
|
2023-12-05 16:19:23 +00:00
|
|
|
system.autoUpgrade.enable = true;
|
|
|
|
system.autoUpgrade.allowReboot = true;
|
2022-05-26 10:55:06 +00:00
|
|
|
|
|
|
|
}
|