mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
18 lines
436 B
Nix
18 lines
436 B
Nix
{ config, ... }:
|
|
{
|
|
services.tailscale-systray = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage {
|
|
name = "tailscale";
|
|
version = "1.88.1";
|
|
outPath = "@tailscale@";
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
serviceFile=home-files/.config/systemd/user/tailscale-systray.service
|
|
assertFileExists $serviceFile
|
|
assertFileRegex $serviceFile \
|
|
'^ExecStart=@tailscale@/bin/tailscale systray$'
|
|
'';
|
|
}
|