refactor(home/linux/desktop): home/linux/desktop => home/linux/gui

This commit is contained in:
Ryan Yin
2024-03-19 00:14:04 +08:00
parent 7d5a04fd38
commit d94f482c23
466 changed files with 1 additions and 2 deletions

View File

@@ -0,0 +1,44 @@
{
pkgs,
pkgs-unstable,
nur-ryan4yin,
...
}:
# media - control and enjoy audio/video
{
home.packages = with pkgs; [
# audio control
pavucontrol
playerctl
pulsemixer
imv # simple image viewer
nvtop
# video/audio tools
cava # for visualizing audio
libva-utils
vdpauinfo
vulkan-tools
glxinfo
];
# https://github.com/catppuccin/cava
xdg.configFile."cava/config".text =
''
# custom cava config
''
+ builtins.readFile "${nur-ryan4yin.packages.${pkgs.system}.catppuccin-cava}/mocha.cava";
programs = {
mpv = {
enable = true;
defaultProfiles = ["gpu-hq"];
scripts = [pkgs.mpvScripts.mpris];
};
};
services = {
playerctld.enable = true;
};
}