diff --git a/SwarselSystems.org b/SwarselSystems.org index cf3aa7f..f0c8199 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -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 # spotify-player # element-desktop + nicotine-plus stable.transmission_3 mktorrent @@ -14733,6 +14734,24 @@ This service changes the screen hue at night. I am not sure if that really does } #+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 #+begin_src nix-ts :tangle modules/home/common/vesktop.nix diff --git a/modules/home/common/packages.nix b/modules/home/common/packages.nix index b36b2c5..cfedf9d 100644 --- a/modules/home/common/packages.nix +++ b/modules/home/common/packages.nix @@ -81,8 +81,8 @@ # spotify # vesktop # discord client # nextcloud-client # enables a systemd service that I do not want - # spotify-player # element-desktop + # spotify-player nicotine-plus stable.transmission_3 diff --git a/modules/home/common/spotify-player.nix b/modules/home/common/spotify-player.nix new file mode 100644 index 0000000..1ba1865 --- /dev/null +++ b/modules/home/common/spotify-player.nix @@ -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; + }; + }; + +}