1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
home-manager/tests/modules/services/snixembed/basic-configuration.nix
Damien Cassou 03f8e0b3b3
snixembed: add module
This is used by SafeEyes (another home-manager) module to show a
systemtray icon. See https://git.sr.ht/~steef/snixembed.

Fixes #5728
2024-10-11 00:14:36 +02:00

16 lines
313 B
Nix

{ ... }:
{
services.snixembed = {
enable = true;
beforeUnits = [ "safeeyes.service" ];
};
test.stubs = { snixembed = { outPath = "/snixembed"; }; };
nmt.script = ''
assertFileContent \
home-files/.config/systemd/user/snixembed.service \
${./basic-configuration.service}
'';
}