From 350526dd472dd187df6aafffbe94298b5f6b23c7 Mon Sep 17 00:00:00 2001 From: twoneis Date: Tue, 7 Nov 2023 13:24:04 +0100 Subject: [PATCH] added spotifyd config --- base-system/dotfiles/spotifyd/spotifyd.nix | 14 ++++++++++++++ base-system/home.nix | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 base-system/dotfiles/spotifyd/spotifyd.nix diff --git a/base-system/dotfiles/spotifyd/spotifyd.nix b/base-system/dotfiles/spotifyd/spotifyd.nix new file mode 100644 index 0000000..27a3c69 --- /dev/null +++ b/base-system/dotfiles/spotifyd/spotifyd.nix @@ -0,0 +1,14 @@ +{ + global = { + username = "sanjay15@sapura.de"; + use_keyring = true; + backend = "alsa"; + device_name = "nix-daemon"; + device_type = "computer"; + device = "default"; + bitrate = 320; + zeroconf_port = 8888; + initial_volume = "50"; + autoplay = false; + }; +} diff --git a/base-system/home.nix b/base-system/home.nix index 9b3b5bc..e5e2c6e 100644 --- a/base-system/home.nix +++ b/base-system/home.nix @@ -35,6 +35,11 @@ enable = true; settings = import ./dotfiles/alacritty/alacritty.nix; }; + + spotifyd = { + enable = true; + settings = import ./dotfiles/spotifyd/spotifyd.nix; + }; };