45 lines
782 B
Nix
45 lines
782 B
Nix
{
|
|
config,
|
|
latestModulesPath,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
|
|
./caddy.nix
|
|
./keycloak.nix
|
|
./erpnext.nix
|
|
|
|
"${latestModulesPath}/services/web-servers/caddy/default.nix"
|
|
];
|
|
disabledModules = [
|
|
"services/web-servers/caddy/default.nix"
|
|
];
|
|
|
|
pub-solar.core.lite = true;
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
networking = {
|
|
useDHCP = false;
|
|
|
|
interfaces.enp1s0.ipv4.addresses = [
|
|
{
|
|
address = "80.244.242.4";
|
|
prefixLength = 29;
|
|
}
|
|
];
|
|
|
|
defaultGateway = "80.244.242.1";
|
|
nameservers = ["95.129.51.51" "80.244.244.244"];
|
|
};
|
|
|
|
# Enable the OpenSSH daemon.
|
|
services.openssh.enable = true;
|
|
|
|
system.stateVersion = "22.05";
|
|
}
|