🚚 [shared] Added shared config that shared desktop config inherits from
This commit is contained in:
6
shared/desktop/home-manager/media/default.nix
Normal file
6
shared/desktop/home-manager/media/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
./imv.nix
|
||||
./mpv.nix
|
||||
];
|
||||
}
|
10
shared/desktop/home-manager/media/imv.nix
Normal file
10
shared/desktop/home-manager/media/imv.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ theme, ... }:
|
||||
|
||||
{
|
||||
catppuccin.imv = {
|
||||
enable = true;
|
||||
flavor = theme.flavor;
|
||||
};
|
||||
|
||||
programs.imv.enable = true;
|
||||
}
|
27
shared/desktop/home-manager/media/mpv.nix
Normal file
27
shared/desktop/home-manager/media/mpv.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user