diff options
| author | Grigory Shipunov | 2022-11-14 16:05:02 +0100 |
|---|---|---|
| committer | Grigory Shipunov | 2022-11-14 16:05:02 +0100 |
| commit | 4edfd251be4f0315154d18b6208f614264247623 (patch) | |
| tree | 675727f6e933dc1ba58cb660c5ccb2b5765a1837 /hosts/microwave | |
| parent | 3884eb2f82b93ebd9112f6a04c62a8a7d26662dd (diff) | |
fix localed, back to stateless networking
Diffstat (limited to 'hosts/microwave')
| -rw-r--r-- | hosts/microwave/configuration.nix | 9 | ||||
| -rw-r--r-- | hosts/microwave/default.nix | 3 | ||||
| -rw-r--r-- | hosts/microwave/hardware-configuration.nix | 2 | ||||
| -rw-r--r-- | hosts/microwave/network.nix | 1 |
4 files changed, 10 insertions, 5 deletions
diff --git a/hosts/microwave/configuration.nix b/hosts/microwave/configuration.nix index 305e6be..53abd1c 100644 --- a/hosts/microwave/configuration.nix +++ b/hosts/microwave/configuration.nix @@ -73,7 +73,6 @@ "plugdev" "dialout" "bluetooth" - "networkmanager" ]; group = "users"; home = "/home/grue"; @@ -85,7 +84,13 @@ enable = true; package = pkgs.wireshark; }; - time.timeZone = "Europe/Berlin"; + time.timeZone = "Europe/Amsterdam"; + + i18n = { + defaultLocale = "en_US.UTF-8"; + supportedLocales = [ "all" ]; + #supportedLocales = [ "en_US.UTF-8/UTF-8" "nl_NL.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ]; + }; programs.steam.enable = true; diff --git a/hosts/microwave/default.nix b/hosts/microwave/default.nix index 5b1f235..b442ac2 100644 --- a/hosts/microwave/default.nix +++ b/hosts/microwave/default.nix @@ -2,8 +2,7 @@ imports = [ ./configuration.nix ./hardware-configuration.nix - - ./stateful-networking.nix + ./network.nix ./secrets.nix ]; } diff --git a/hosts/microwave/hardware-configuration.nix b/hosts/microwave/hardware-configuration.nix index 7b2be8b..1652b60 100644 --- a/hosts/microwave/hardware-configuration.nix +++ b/hosts/microwave/hardware-configuration.nix @@ -54,7 +54,7 @@ # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. networking.useDHCP = lib.mkDefault true; networking.interfaces.enp53s0.useDHCP = lib.mkDefault true; - networking.interfaces.wlp54s0.useDHCP = lib.mkDefault true; + networking.interfaces.wlan0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; diff --git a/hosts/microwave/network.nix b/hosts/microwave/network.nix index b56e8fb..bb1d0ff 100644 --- a/hosts/microwave/network.nix +++ b/hosts/microwave/network.nix @@ -6,6 +6,7 @@ hostName = "microwave"; # Define your hostname. hostId = "7da4f1e6"; firewall.enable = true; + networkmanager.enable = false; useNetworkd = true; wireguard.enable = true; wireless.iwd = { |
