diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 73e999c7..47d9ecfe 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -9,9 +9,15 @@ ./home/main.nix ]; - networking.hostName = "wim"; - networking.networkmanager.enable = true; - networking.networkmanager.wifi.backend = "wpa_supplicant"; + networking = { + hostName = "wim"; + networkmanager.enable = true; + networkmanager.wifi.backend = "wpa_supplicant"; + hosts = { + # Fix spot playback issue: https://github.com/xou816/spot/issues/541#issuecomment-1200503080 + "104.199.65.124" = [ "ap-gew4.spotify.com" "ap-gue1.spotify.com" ]; + }; + }; # Set your time zone. time.timeZone = "America/Montreal";