{ pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; boot = { loader = { grub.enable = true; grub.device = "/dev/sda"; }; kernelPackages = pkgs.linuxPackages_latest; }; zramSwap.enable = true; networking = { hostName = "main-node"; nameservers = [ "46.38.225.230" "46.38.252.230" "2a03:4000:0:1::e1e6" "2a03:4000:8000::fce6" ]; defaultGateway = { address = "89.58.8.1"; interface = "ens3"; }; defaultGateway6 = { address = "fe80::1"; interface = "ens3"; }; interfaces.ens3 = { useDHCP = true; ipv4.addresses = [ { address = "188.68.44.196"; prefixLength = 32; } ]; ipv6.addresses = [ { address = "2a03:4000:5f:d2e::1"; prefixLength = 64; } ]; }; }; time.timeZone = "Europe/Vienna"; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "23.05"; }