38 lines
604 B
Nix
38 lines
604 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
|
|
./caddy.nix
|
|
./keycloak.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";
|
|
}
|