🎬 Freetube config, added Zen flake and updated default browser

This commit is contained in:
2025-01-12 12:27:00 +01:00
parent 759c57dfac
commit be020ff82c
7 changed files with 91 additions and 4 deletions

View File

@ -4,7 +4,7 @@
enable = true;
defaultApplications =
let
browser = "io.github.zen_browser.zen.desktop";
browser = "zen.desktop";
imageViewer = "org.gnome.Loupe.desktop";
in
{

View File

@ -16,6 +16,7 @@ in
./default-applications.nix
./development
./fish.nix
./freetube.nix
./gtk.nix
./mpv.nix
./nextcloud.nix

49
home-manager/freetube.nix Normal file
View File

@ -0,0 +1,49 @@
{
catppuccin.freetube.enable = true;
programs.freetube = {
enable = true;
settings = {
allowDashAv1Formats = true;
checkForUpdates = false;
currentLocale = "en-GB";
defaultTheatreMode = true;
defaultQuality = "1080";
region = "NO";
useSponsorBlock = true;
sponsorBlockSponsor = {
color = "CatppuccinMochaGreen";
skip = "autoSkip";
};
sponsorBlockSelfPromo = {
color = "CatppuccinMochaYellow";
skip = "showInSeekBar";
};
sponsorBlockInteraction = {
color = "CatppuccinMochaPink";
skip = "showInSeekBar";
};
sponsorBlockIntro = {
color = "CatppuccinMochaSapphire";
skip = "doNothing";
};
sponsorBlockOutro = {
color = "CatppuccinMochaBlue";
skip = "doNothing";
};
sponsorBlockRecap = {
color = "CatppuccinMochaMauve";
skip = "doNothing";
};
sponsorBlockMusicOffTopic = {
color = "CatppuccinMochaFlamingo";
skip = "doNothing";
};
sponsorBlockFiller = {
color = "CatppuccinMochaMauve";
skip = "doNothing";
};
};
};
}