cfcd52ff70
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
16 lines
350 B
Nix
16 lines
350 B
Nix
{ config, pkgs, ... }: {
|
|
config = {
|
|
services.pbgopy.enable = true;
|
|
|
|
test.stubs.pbgopy = { };
|
|
|
|
nmt.script = ''
|
|
serviceFile=home-files/.config/systemd/user/pbgopy.service
|
|
|
|
assertFileExists $serviceFile
|
|
|
|
assertFileContains $serviceFile \
|
|
'ExecStart=@pbgopy@/bin/pbgopy serve --port 9090 --ttl 24h'
|
|
'';
|
|
};
|
|
}
|