mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
16 lines
344 B
Nix
16 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'
|
||
|
'';
|
||
|
}
|