2.home-manager/tests/modules/services/mpdscribble/basic-configuration.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

33 lines
611 B
Nix

{
config,
lib,
pkgs,
...
}:
with lib;
{
services.mpdscribble = {
enable = true;
endpoints = {
"libre.fm" = {
username = "musicfan1992";
passwordFile = toString ./password-file;
};
"https://music.com/" = {
username = "musicHATER1000";
passwordFile = toString ./password-file;
};
};
};
home.stateVersion = "22.11";
test.stubs.mpd = { };
nmt.script = ''
serviceFile=$(normalizeStorePaths home-files/.config/systemd/user/mpdscribble.service)
assertFileContent "$serviceFile" ${./basic-configuration.service}
'';
}