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

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

38 lines
568 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 = [
./caddy.nix
./keycloak.nix
2023-07-17 20:40:52 +00:00
./erpnext.nix
];
2023-03-06 23:48:42 +00:00
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.
2024-01-09 00:39:09 +00:00
services.openssh = {
enable = true;
openFirewall = true;
};
2023-03-06 23:48:42 +00:00
system.stateVersion = "22.05";
}