diff --git a/hosts/bootstrap/default.nix b/hosts/bootstrap/default.nix index a06fb3f..65a7d82 100644 --- a/hosts/bootstrap/default.nix +++ b/hosts/bootstrap/default.nix @@ -46,8 +46,9 @@ networking = { - # configures the network interface(include wireless) via `nmcli` & `nmtui` + hostName = "bootstrap"; networkmanager.enable = true; + enableIPv6 = false; }; services = { diff --git a/hosts/fileserver/default.nix b/hosts/fileserver/default.nix index 6ed18ab..daa9fe7 100644 --- a/hosts/fileserver/default.nix +++ b/hosts/fileserver/default.nix @@ -31,12 +31,14 @@ boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/vda"; - networking.networkmanager.enable = true; + networking = { + hostName = "fileserver"; + networkmanager.enable = true; + enableIPv6 = false; + }; time.timeZone = "Europe/London"; - networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; - i18n.defaultLocale = "en_GB.UTF-8"; console = { font = "Lat2-Terminus16"; @@ -44,20 +46,11 @@ useXkbConfig = false; }; - services.printing.enable = true; - - services.libinput.enable = true; - programs.gnupg.agent = { enable = true; enableSSHSupport = true; }; - hardware = { - opengl.enable = true; - nvidia.modesetting.enable = true; - }; - system.stateVersion = "23.11"; }