{ config, pkgs, ... }: { imports = [ ./hardware-configuration.nix ./net-services.nix ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "router"; networking.useDHCP = false; networking.defaultGateway = { address = "10.42.10.1"; interface = "net-services"; }; networking.defaultGateway6 = { address = "2a01:4f8:1c0c:8221::1"; interface = "net-services"; }; networking.nameservers = [ "10.42.10.1" "2a01:4f8:1c0c:8221::1" ]; # 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 = "22.05"; # Did you read the comment? }