mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat[client]: add spotify-player
This commit is contained in:
parent
04f6b7eeb9
commit
116a099732
3 changed files with 33 additions and 1 deletions
|
|
@ -11185,6 +11185,7 @@ This holds packages that I can use as provided, or with small modifications (as
|
||||||
# nextcloud-client # enables a systemd service that I do not want
|
# nextcloud-client # enables a systemd service that I do not want
|
||||||
# spotify-player
|
# spotify-player
|
||||||
# element-desktop
|
# element-desktop
|
||||||
|
|
||||||
nicotine-plus
|
nicotine-plus
|
||||||
stable.transmission_3
|
stable.transmission_3
|
||||||
mktorrent
|
mktorrent
|
||||||
|
|
@ -14733,6 +14734,24 @@ This service changes the screen hue at night. I am not sure if that really does
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
**** spotify-player
|
||||||
|
|
||||||
|
#+begin_src nix-ts :tangle modules/home/common/spotify-player.nix
|
||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
moduleName = "spotify-player";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
|
||||||
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||||
|
programs.${moduleName} = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
#+end_src
|
||||||
|
|
||||||
**** vesktop
|
**** vesktop
|
||||||
|
|
||||||
#+begin_src nix-ts :tangle modules/home/common/vesktop.nix
|
#+begin_src nix-ts :tangle modules/home/common/vesktop.nix
|
||||||
|
|
|
||||||
|
|
@ -81,8 +81,8 @@
|
||||||
# spotify
|
# spotify
|
||||||
# vesktop # discord client
|
# vesktop # discord client
|
||||||
# nextcloud-client # enables a systemd service that I do not want
|
# nextcloud-client # enables a systemd service that I do not want
|
||||||
# spotify-player
|
|
||||||
# element-desktop
|
# element-desktop
|
||||||
|
# spotify-player
|
||||||
|
|
||||||
nicotine-plus
|
nicotine-plus
|
||||||
stable.transmission_3
|
stable.transmission_3
|
||||||
|
|
|
||||||
13
modules/home/common/spotify-player.nix
Normal file
13
modules/home/common/spotify-player.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ lib, config, ... }:
|
||||||
|
let
|
||||||
|
moduleName = "spotify-player";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
|
||||||
|
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||||
|
programs.${moduleName} = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue