mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
16 lines
336 B
Nix
16 lines
336 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
services.glance.enable = true;
|
||
|
|
||
|
test.stubs.glance = { };
|
||
|
|
||
|
nmt.script = ''
|
||
|
configFile=home-files/.config/glance/glance.yml
|
||
|
serviceFile=home-files/.config/systemd/user/glance.service
|
||
|
|
||
|
assertFileContent $configFile ${./glance-default-config.yml}
|
||
|
assertFileContent $serviceFile ${./glance.service}
|
||
|
'';
|
||
|
}
|