mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
30 lines
733 B
Nix
30 lines
733 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
programs.freetube = {
|
|
enable = true;
|
|
settings = {
|
|
useRssFeeds = true;
|
|
hideHeaderLogo = true;
|
|
allowDashAv1Formats = true;
|
|
commentAutoLoadEnabled = true;
|
|
|
|
checkForUpdates = false;
|
|
checkForBlogPosts = false;
|
|
|
|
listType = "list";
|
|
defaultQuality = "1080";
|
|
};
|
|
};
|
|
|
|
test.stubs.freetube = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/FreeTube/hm_settings.db
|
|
assertFileContent home-files/.config/FreeTube/hm_settings.db \
|
|
${./basic-configuration.db}
|
|
|
|
assertFileContains activate \
|
|
"install -Dm644 \$VERBOSE_ARG '/home/hm-user/.config/FreeTube/hm_settings.db' '/home/hm-user/.config/FreeTube/settings.db'"
|
|
'';
|
|
}
|