diff --git a/home-manager/home.nix b/home-manager/home.nix index c7799fe..c1dd411 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -14,8 +14,6 @@ # You can also split up your configuration and import pieces of it here: # ./nvim.nix - - ./spotify.nix ]; nixpkgs = { diff --git a/home-manager/spotify.nix b/home-manager/spotify.nix deleted file mode 100644 index 3873875..0000000 --- a/home-manager/spotify.nix +++ /dev/null @@ -1,5 +0,0 @@ -{ pkgs, ... }: { - programs.spotify = { - enable = true; - }; -} \ No newline at end of file diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 11deb42..3093853 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -109,6 +109,18 @@ papirus-icon-theme # Menu kind xfce.xfce4-whiskermenu-plugin + + # Spotify + spotify + ]; + + networking.firewall.allowedTCPPorts = [ + # Allow discovery for spotify on the network + 57621 + ]; + networking.firewall.allowedUDPPorts = [ + # Allow discovery for spotify on the network + 57621 ]; # This value determines the NixOS release from which the default @@ -118,5 +130,4 @@ # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). system.stateVersion = "24.11"; # Did you read the comment? - }