mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 04:09:47 +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'
|
||
|
'';
|
||
|
}
|