Moved modules and hm dir to hosts dir. Moved some code to shared and extended lib with custom functions

This commit is contained in:
2025-04-12 17:05:38 +02:00
parent df5bea9cc0
commit e3a1dd36d7
99 changed files with 550 additions and 140 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";
};
};
};
};
}