1
0
Fork 0

add spectacle config, add spotify, fix cinny video playback with gstreamer

refactor some stuff to look nicer and have more structure too
This commit is contained in:
Philipp 2025-04-10 19:19:37 +02:00
parent 56a64c1e0e
commit dc99f3d24d
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
15 changed files with 283 additions and 145 deletions

View file

@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.apps.spotify;
in
{
options.${namespace}.apps.spotify = with types; {
enable = mkBoolOpt false "Whether or not to enable spotify.";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
librespot
spotify-qt
];
};
}