mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Add custom isTailscaleDomain lib
This commit is contained in:
parent
589b76d745
commit
f3ea2b75e6
6 changed files with 15 additions and 11 deletions
3
lib/default.nix
Normal file
3
lib/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
lib: {
|
||||
isTailscaleDomain = domain: domain |> lib.hasSuffix ".ts.net";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue