From c2594c1793fac47fe0cfc6884a3dcca72c106d63 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sun, 17 Sep 2023 15:53:56 -0400 Subject: [PATCH] fix(Spot): fix hosts to allow Spot playback --- nixos/configuration.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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";