mirror of
https://github.com/nix-community/home-manager
synced 2024-12-30 21:59:49 +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'
|
||
|
'';
|
||
|
}
|