From f374938c70940f3f9a503763931c0f512e07690b Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 26 Dec 2022 02:25:13 +0100 Subject: Cleanup, add postgres base Signed-off-by: TheArcaneBrony --- modules/base-server.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'modules/base-server.nix') 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! -- cgit 1.4.1