2020-12-03 03:55:37 +01:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
config = {
|
|
|
|
services.pbgopy.enable = true;
|
|
|
|
|
2021-09-26 11:08:45 +02:00
|
|
|
test.stubs.pbgopy = { };
|
2020-12-03 03:55:37 +01:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
serviceFile=home-files/.config/systemd/user/pbgopy.service
|
|
|
|
|
|
|
|
assertFileExists $serviceFile
|
|
|
|
|
|
|
|
assertFileContains $serviceFile \
|
2021-04-22 23:46:05 +02:00
|
|
|
'ExecStart=@pbgopy@/bin/pbgopy serve --port 9090 --ttl 24h'
|
2020-12-03 03:55:37 +01:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|