1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-04 16:11:06 +01:00

ludusavi: add test

This commit is contained in:
Aguirre Matteo 2025-11-29 09:25:51 -03:00 committed by Austin Horstman
parent 06f81463bb
commit db44f38047
4 changed files with 34 additions and 0 deletions

View file

@ -96,6 +96,7 @@ let
"lf" "lf"
"lieer" "lieer"
"lsd" "lsd"
"ludusavi"
"mbsync" "mbsync"
"meli" "meli"
"mergiraf" "mergiraf"

View file

@ -0,0 +1,9 @@
backup:
path: ~/.local/state/backups/ludusavi
language: en-US
restore:
path: ~/.local/state/backups/ludusavi
roots:
- path: ~/.local/share/Steam
store: steam
theme: light

View file

@ -0,0 +1 @@
{ ludusavi-settings = ./settings.nix; }

View file

@ -0,0 +1,23 @@
{
services.ludusavi = {
enable = true;
settings = {
language = "en-US";
theme = "light";
roots = [
{
path = "~/.local/share/Steam";
store = "steam";
}
];
backup.path = "~/.local/state/backups/ludusavi";
restore.path = "~/.local/state/backups/ludusavi";
};
};
nmt.script = ''
assertFileExists home-files/.config/ludusavi/config.yaml
assertFileContent home-files/.config/ludusavi/config.yaml \
${./config.yaml}
'';
}