mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 07:09:45 +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'
|
||
|
'';
|
||
|
}
|