Grayjay, Imv, updated dependencies

- Added Grayjay flake

- Added imv

- Set imv as default image viewer

- Changed catppuccin homeManagerModules to homeModules

- Media dir in home dir for media config

- pkg-config for rust development

- Removed Loupe image viewer

- Moved mpv to media dir
This commit is contained in:
2025-04-02 20:09:55 +02:00
parent 542a627e23
commit 11e8f2f8c6
11 changed files with 121 additions and 88 deletions

View File

@ -0,0 +1,6 @@
{
imports = [
./imv.nix
./mpv.nix
];
}

View File

@ -0,0 +1,10 @@
{ theme, ... }:
{
catppuccin.imv = {
enable = true;
flavor = theme.flavor;
};
programs.imv.enable = true;
}

View File

@ -0,0 +1,27 @@
{ theme, ... }:
{
catppuccin.mpv = {
enable = true;
flavor = theme.flavor;
};
programs = {
fish.shellAliases.mpvl = "mpv --profile=loop";
mpv = {
enable = true;
config = {
hwdec = "auto-safe";
vo = "gpu";
profile = "gpu-hq";
gpu-context = "wayland";
};
profiles = {
loop = {
loop-playlist = "inf";
loop-file = "inf";
};
};
};
};
}