Update spotify to be installed system wide

This commit is contained in:
2025-02-26 20:45:24 +01:00
parent 745bc7b80f
commit 42e094806b
3 changed files with 12 additions and 8 deletions

View File

@@ -14,8 +14,6 @@
# You can also split up your configuration and import pieces of it here: # You can also split up your configuration and import pieces of it here:
# ./nvim.nix # ./nvim.nix
./spotify.nix
]; ];
nixpkgs = { nixpkgs = {

View File

@@ -1,5 +0,0 @@
{ pkgs, ... }: {
programs.spotify = {
enable = true;
};
}

View File

@@ -109,6 +109,18 @@
papirus-icon-theme papirus-icon-theme
# Menu kind # Menu kind
xfce.xfce4-whiskermenu-plugin 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 # This value determines the NixOS release from which the default
@@ -118,5 +130,4 @@
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "24.11"; # Did you read the comment? system.stateVersion = "24.11"; # Did you read the comment?
} }