57 lines
2.1 KiB
Nix
57 lines
2.1 KiB
Nix
{ ... }:
|
|
|
|
{
|
|
home-manager.users."djai".programs.freetube = {
|
|
enable = true;
|
|
settings = {
|
|
allSettingsSectionsExpandedByDefault = true;
|
|
autoplayVideos = true;
|
|
backendPreference = "invidious";
|
|
barColor = false;
|
|
blurThumbnails = true;
|
|
defaultCaptionSettings = "{\"backgroundColor\":\"#000\",\"backgroundOpacity\":\"1\",\"color\":\"#FFF\",\"fontFamily\":\"proportionalSansSerif\",\"textOpacity\":\"1\",\"windowColor\":\"#000\",\"windowOpacity\":\"0\"}";
|
|
defaultInvidiousInstance = "https://invidious.djairo.dev";
|
|
defaultViewingMode = "theatre";
|
|
displayVideoPlayButton = false;
|
|
expandSideBar = false;
|
|
hideCommentLikes = true;
|
|
hidePopularVideos = true;
|
|
hideTrendingVideos = true;
|
|
hideUpcomingPremieres = true;
|
|
hideVideoViews = false;
|
|
playNextVideo = false;
|
|
proxyVideos = true;
|
|
region = "IE";
|
|
settingsSectionSortEnabled = false;
|
|
showDistractionFreeTitles = false;
|
|
sponsorBlockFiller = {color = "CatppuccinMochaMaroon"; skip = "doNothing";};
|
|
sponsorBlockInteraction = {color = "CatppuccinMochaGreen"; skip = "autoSkip";};
|
|
sponsorBlockIntro = {color = "CatppuccinMochaPeach"; skip = "showInSeekBar";};
|
|
sponsorBlockMusicOffTopic = {color = "CatppuccinMochaMaroon"; skip = "doNothing";};
|
|
sponsorBlockOutro = {color = "CatppuccinMochaPeach"; skip = "showInSeekBar";};
|
|
sponsorBlockRecap = {color = "CatppuccinMochaPeach"; skip = "doNothing";};
|
|
sponsorBlockSelfPromo = {color = "CatppuccinMochaYellow"; skip = "autoSkip";};
|
|
sponsorBlockSponsor = {color = "CatppuccinMochaBlue"; skip = "autoSkip";};
|
|
thumbnailPreference = "blur";
|
|
useDeArrowTitles = true;
|
|
useRssFeeds = true;
|
|
useSponsorBlock = true;
|
|
};
|
|
};
|
|
|
|
home-manager.users.djai.catppuccin.freetube = {
|
|
flavor = "mocha";
|
|
accent = "red";
|
|
secondaryAccent = "mauve";
|
|
};
|
|
|
|
home-manager.users.djai.xdg.desktopEntries = {
|
|
freetube = {
|
|
name = "FreeTube";
|
|
exec = "freetube --disable-features=AudioServiceOutOfProcess %U";
|
|
terminal = false;
|
|
icon = "freetube";
|
|
};
|
|
};
|
|
}
|