zerotierone: use our own upgraded zerotierone package in nixos module
This commit is contained in:
@@ -89,11 +89,7 @@ in
|
|||||||
({
|
({
|
||||||
# Override license so that we can build zerotierone without
|
# Override license so that we can build zerotierone without
|
||||||
# having to re-import nixpkgs.
|
# having to re-import nixpkgs.
|
||||||
services.zerotierone.package = lib.mkDefault (
|
services.zerotierone.package = lib.mkDefault (pkgs.callPackage ../../../pkgs/zerotierone { });
|
||||||
pkgs.zerotierone.overrideAttrs (_old: {
|
|
||||||
meta = { };
|
|
||||||
})
|
|
||||||
);
|
|
||||||
})
|
})
|
||||||
(lib.mkIf ((facts.zerotier-ip.value or null) != null) {
|
(lib.mkIf ((facts.zerotier-ip.value or null) != null) {
|
||||||
environment.etc."zerotier/ip".text = facts.zerotier-ip.value;
|
environment.etc."zerotier/ip".text = facts.zerotier-ip.value;
|
||||||
|
|||||||
Reference in New Issue
Block a user