forked from pub-solar/os
31 lines
555 B
Nix
31 lines
555 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.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";
|
|
}
|