1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/tests/modules/programs/anup/settings.nix
2025-10-11 22:12:56 -05:00

27 lines
595 B
Nix

{
programs.anup = {
enable = true;
config = ''
(
series_dir: "/home/matteo/anime",
reset_dates_on_rewatch: false,
episode: (
percent_watched_to_progress: (50.0),
player: "mpv",
player_args: [],
),
tui: (
keys: (
play_next_episode: "enter",
),
),
)
'';
};
nmt.script = ''
assertFileExists home-files/.config/anup/config.ron
assertFileContent home-files/.config/anup/config.ron \
${./config.ron}
'';
}