75fa0ae5af
GitOrigin-RevId: c3ab5ea047e6dc73df530948f7367455749d8906
15 lines
344 B
Nix
15 lines
344 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.pass-secret-service = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { };
|
|
};
|
|
|
|
nmt.script = ''
|
|
serviceFile=home-files/.config/systemd/user/pass-secret-service.service
|
|
|
|
assertFileExists $serviceFile
|
|
assertFileRegex $serviceFile 'ExecStart=.*/bin/pass_secret_service'
|
|
'';
|
|
}
|