mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-16 06:19:11 +00:00
tests/modules/home-manager: init services.bleachbit
This commit is contained in:
parent
4877a6074e
commit
3413974ccf
@ -57,6 +57,7 @@ import nmt {
|
||||
]
|
||||
++ lib.optionals isLinux [
|
||||
./services/archivebox
|
||||
./services/bleachbit
|
||||
./services/gallery-dl
|
||||
./services/matcha
|
||||
./services/plover
|
||||
|
@ -0,0 +1,21 @@
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
services.bleachbit = {
|
||||
enable = true;
|
||||
startAt = "weekly";
|
||||
cleaners = [
|
||||
"firefox.cookies"
|
||||
"firefox.history"
|
||||
"discord.logs"
|
||||
"zoom.logs"
|
||||
];
|
||||
};
|
||||
|
||||
test.stubs.bleachbit = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/systemd/user/bleachbit.service
|
||||
assertFileExists home-files/.config/systemd/user/bleachbit.timer
|
||||
'';
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
bleachbit-basic-setup = ./basic-setup.nix;
|
||||
}
|
Loading…
Reference in New Issue
Block a user