1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 00:09:48 +01:00
home-manager/tests/modules/services/parcellite/parcellite.nix

19 lines
379 B
Nix
Raw Normal View History

2022-12-28 22:16:14 +01:00
{ 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}
'';
}