home-manager/tests/modules/services/parcellite/parcellite.nix
2022-12-28 22:16:47 +01:00

19 lines
379 B
Nix

{ config, pkgs, ... }:
{
services.parcellite = {
enable = true;
package = config.lib.test.mkStubPackage {
name = "parcellite";
outPath = "@parcellite@";
};
extraOptions = [ "--no-icon" ];
};
nmt.script = ''
assertFileContent \
"home-files/.config/systemd/user/parcellite.service" \
${./parcellite-expected.service}
'';
}