about summary refs log tree commit diff
path: root/home/modules
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-13 10:50:06 +0900
committersefidel <contact@sefidel.net>2022-02-13 11:06:25 +0900
commit79f651887b6bd83450aaed2430278d494920abf1 (patch)
tree1d06bc47e0a47f4b103145050606edcba357b7dd /home/modules
parentb7381fdfa6c1d2da43b80fa4aa8176ae9a9bb0c0 (diff)
downloadnixrc-79f651887b6bd83450aaed2430278d494920abf1.tar.gz
nixrc-79f651887b6bd83450aaed2430278d494920abf1.zip
chore: remove spotify-tui
Diffstat (limited to 'home/modules')
-rw-r--r--home/modules/programs/spotify-tui/default.nix57
1 files changed, 0 insertions, 57 deletions
diff --git a/home/modules/programs/spotify-tui/default.nix b/home/modules/programs/spotify-tui/default.nix
deleted file mode 100644
index 1693883..0000000
--- a/home/modules/programs/spotify-tui/default.nix
+++ /dev/null
@@ -1,57 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
-
-  cfg = config.programs.spotify-tui;
-  yamlFormat = pkgs.formats.yaml { };
-
-in
-{
-  meta.maintainers = with lib.maintainers; [ boppyt ];
-
-  options.programs.spotify-tui = {
-    enable = mkEnableOption "A Spotify client for the terminal written in Rust.";
-
-    package = mkOption {
-      type = types.package;
-      default = pkgs.spotify-tui;
-      defaultText = literalExpression "pkgs.spotify-tui";
-      description = "The spotify-tui package to install";
-    };
-
-    settings = mkOption {
-      type = yamlFormat.type;
-      default = { };
-      description = ''
-        Configuration written to
-        <filename>$XDG_CONFIG_HOME/spotify-tui/config.yml</filename>. See <link
-        xlink:href="https://github.com/Rigellute/spotify-tui#configuration"/>
-        for a list of available options.
-      '';
-      example = literalExpression ''
-        {
-          theme = {
-            active = "Cyan";
-            banner = "LightCyan";
-          };
-
-          behavior = {
-            seek_milliseconds = 5000;
-            volume_increment = 10;
-          };
-        }
-      '';
-    };
-  };
-
-  config = mkIf cfg.enable {
-
-    home.packages = [ cfg.package ];
-
-    xdg.configFile."spotify-tui/config.yml" = mkIf (cfg.settings != { }) {
-      source = yamlFormat.generate "spotify-tui-config" cfg.settings;
-    };
-  };
-}