Skip to content

Commit

Permalink
home/suites/video: move mpv and spicetify to graphical
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jun 29, 2024
1 parent 42a7fcc commit 9e99f5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ let
inherit (lib) mkIf;
inherit (lib.${namespace}) mkBoolOpt;

cfg = config.${namespace}.programs.terminal.media.mpv;
cfg = config.${namespace}.programs.graphical.apps.mpv;

in
{
options.${namespace}.programs.terminal.media.mpv = {
options.${namespace}.programs.graphical.apps.mpv = {
enable = mkBoolOpt false "Whether or not to enable support for mpv.";
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ let
inherit (lib.${namespace}) mkBoolOpt;
inherit (inputs) spicetify-nix;

cfg = config.${namespace}.programs.terminal.media.spicetify;
cfg = config.${namespace}.programs.graphical.apps.spicetify;

spicePkgs = spicetify-nix.legacyPackages.${pkgs.system};
in
{
options.${namespace}.programs.terminal.media.spicetify = {
options.${namespace}.programs.graphical.apps.spicetify = {
enable = mkBoolOpt false "Whether or not to enable support for spicetify.";
};

Expand Down
9 changes: 2 additions & 7 deletions modules/home/suites/video/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,8 @@ in
programs = {
graphical.apps = {
obs = enabled;
};

terminal = {
media = {
mpv = enabled;
spicetify = enabled;
};
mpv = enabled;
spicetify = enabled;
};
};
};
Expand Down

0 comments on commit 9e99f5a

Please sign in to comment.