refactor(tailscale): update to use masterPkgs for tailscale

This commit is contained in:
uttarayan21
2025-11-22 19:24:29 +05:30
parent 819c444daf
commit a99cc07124
10 changed files with 182 additions and 207 deletions

View File

@@ -15,6 +15,7 @@
// {
inherit device;
unstablePkgs = inputs.nixpkgs.legacyPackages.${device.system};
masterPkgs = inputs.nixpkgs-master.legacyPackages.${device.system};
};
system = device.system;
modules = [

View File

@@ -1,10 +1,10 @@
{unstablePkgs, ...}: {
{masterPkgs, ...}: {
services = {
tailscale = {
enable = true;
package = masterPkgs.tailscale;
# useRoutingFeatures = "both";
# extraUpFlags = ["--advertise-routes=192.168.0.0/24"];
package = unstablePkgs.tailscale;
};
};
}