playerctld

This commit is contained in:
Spectre 2024-06-07 17:14:00 +02:00
parent 152c11f911
commit c003e4c44c
4 changed files with 19 additions and 8 deletions

View file

@ -5,7 +5,8 @@
./common.nix
./direnv.nix
./packages.nix
./persist.nix
# ./persist.nix
./playerctld.nix
./stylix.nix
];
}

View file

@ -33,5 +33,5 @@
lutris
];
in
common; # ++ (lib.mkIf conf.gaming.enable gaming);
common ++ (lib.optionals conf.gaming.enable gaming);
}

View file

@ -1,6 +1,7 @@
{
lib,
conf,
...
}: {
data = {
directories = [
@ -21,12 +22,16 @@
".cargo"
".config/obsidian"
".config/spotify"
lib.mkIf
conf.gaming.enable
".local/share/PrismLauncher"
lib.mkIf
conf.gaming.enable
".local/share/Steam"
(
lib.mkIf
conf.gaming.enable
".local/share/PrismLauncher"
)
(
lib.mkIf
conf.gaming.enable
".local/share/Steam"
)
".local/state/wireplumber"
".thunderbird"
];

5
home/playerctld.nix Normal file
View file

@ -0,0 +1,5 @@
{...}: {
services.playerctld = {
enable = true;
};
}