mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
37 lines
723 B
Nix
37 lines
723 B
Nix
{ pkgs, inputs, ... }:
|
|
|
|
{
|
|
# Installs Spotify and Spicetify (import this module in homeManager)
|
|
environment.systemPackages = with pkgs; [
|
|
spotify
|
|
];
|
|
|
|
# Local discovery
|
|
networking.firewall.allowedTCPPorts = [ 57621 ];
|
|
|
|
# Spotify Connect
|
|
networking.firewall.allowedUDPPorts = [ 5353 ];
|
|
|
|
# Spicetify
|
|
programs.spicetify =
|
|
let
|
|
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
|
in
|
|
{
|
|
enable = true;
|
|
|
|
enabledCustomApps = with spicePkgs.apps; [
|
|
newReleases
|
|
ncsVisualiser
|
|
];
|
|
|
|
enabledSnippets = with spicePkgs.snippets; [
|
|
rotatingCoverart
|
|
pointer
|
|
];
|
|
|
|
theme = spicePkgs.themes.catppuccin;
|
|
colorScheme = "mocha";
|
|
}
|
|
}
|