os/hosts/pioneer-momo-koeln/configuration.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
782 B
Nix
Raw Normal View History

2023-03-06 23:48:42 +00:00
{
2023-07-13 18:50:18 +00:00
config,
2023-07-17 20:40:52 +00:00
latestModulesPath,
2023-07-13 18:50:18 +00:00
lib,
pkgs,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
./caddy.nix
./keycloak.nix
2023-07-17 20:40:52 +00:00
./erpnext.nix
"${latestModulesPath}/services/web-servers/caddy/default.nix"
];
disabledModules = [
"services/web-servers/caddy/default.nix"
2023-07-13 18:50:18 +00:00
];
2023-03-06 23:48:42 +00:00
pub-solar.core.lite = true;
time.timeZone = "Europe/Berlin";
networking = {
useDHCP = false;
2023-07-13 18:50:18 +00:00
interfaces.enp1s0.ipv4.addresses = [
{
address = "80.244.242.4";
prefixLength = 29;
}
];
2023-03-06 23:48:42 +00:00
defaultGateway = "80.244.242.1";
2023-07-13 18:50:18 +00:00
nameservers = ["95.129.51.51" "80.244.244.244"];
2023-03-06 23:48:42 +00:00
};
# Enable the OpenSSH daemon.
services.openssh.enable = true;
system.stateVersion = "22.05";
}