nixos-config/hosts/web/configuration.nix

33 lines
710 B
Nix
Raw Normal View History

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
# ../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";
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
}