mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
03f8e0b3b3
This is used by SafeEyes (another home-manager) module to show a systemtray icon. See https://git.sr.ht/~steef/snixembed. Fixes #5728
16 lines
313 B
Nix
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}
|
|
'';
|
|
}
|