tailscale: add tray option
This commit is contained in:
parent
6a02e86599
commit
701e38969c
1 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,7 @@ in {
|
||||||
options.custom.services.tailscale = {
|
options.custom.services.tailscale = {
|
||||||
enable = mkOption {default = false;};
|
enable = mkOption {default = false;};
|
||||||
cert = mkOption {default = false;};
|
cert = mkOption {default = false;};
|
||||||
|
tray = mkOption {default = false;};
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: Use caddy plugin for provisioning when supported by NixOS
|
# TODO: Use caddy plugin for provisioning when supported by NixOS
|
||||||
|
@ -63,5 +64,12 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
{
|
||||||
|
# https://github.com/DeedleFake/trayscale
|
||||||
|
services.trayscale.enable = cfg.tray;
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue