mirror of
https://github.com/nix-community/home-manager
synced 2024-12-21 10:33:25 +00:00
19 lines
379 B
Nix
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}
|
||
|
'';
|
||
|
}
|