25 lines
503 B
Nix
25 lines
503 B
Nix
{ pkgs, ... }: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./webserver.nix
|
|
./firewall-web.nix
|
|
../modules/gitea.nix
|
|
../modules/prometheus-node.nix
|
|
../modules/common.nix
|
|
../modules/users.nix
|
|
];
|
|
|
|
system.stateVersion = "21.11";
|
|
|
|
boot.cleanTmpDir = true;
|
|
zramSwap.enable = false;
|
|
networking.hostName = "web";
|
|
services.openssh = {
|
|
enable = true;
|
|
permitRootLogin = "no";
|
|
passwordAuthentication = false;
|
|
kbdInteractiveAuthentication = false;
|
|
};
|
|
|
|
}
|