diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/base-server.nix | 10 | ||||
-rw-r--r-- | modules/base.nix | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/modules/base-server.nix b/modules/base-server.nix index b8eda0b..028296b 100644 --- a/modules/base-server.nix +++ b/modules/base-server.nix @@ -24,13 +24,21 @@ networking = { hostName = lib.mkDefault "Rory-nix-base-server"; + networkmanager.enable = false; + wireless.enable = false; + enableIPv6 = false; firewall = { enable = false; # allowedTCPPorts = [ ... ]; # allowedUDPPorts = [ ... ]; }; + + useDHCP = false; + nameservers = [ "1.1.1.1" ]; + defaultGateway = "192.168.1.1"; }; + i18n.defaultLocale = "en_US.UTF-8"; services = { openssh = { enable = true; @@ -40,6 +48,8 @@ ''; }; }; + security.sudo.wheelNeedsPassword = false; + nixpkgs.config.allowUnfree = true; system.stateVersion = "22.11"; # DO NOT EDIT! diff --git a/modules/base.nix b/modules/base.nix index 6c2d809..edfabd9 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -13,7 +13,7 @@ enable = false; # allowedTCPPorts = [ ... ]; # allowedUDPPorts = [ ... ]; - }; + };botcore-v4.packages.x86_64-linux.default }; #time.timeZone = "Europe/Brussels"; |