Move zerotier out of the common module
This commit is contained in:
parent
e30a5830ef
commit
66786c2455
5 changed files with 11 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, secrets, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
@ -41,11 +41,6 @@
|
|||
'';
|
||||
};
|
||||
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = secrets.zerotier.networks;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git-crypt
|
||||
jq
|
||||
|
|
|
|||
7
modules/zerotier.nix
Normal file
7
modules/zerotier.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ secrets, ... }:
|
||||
{
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = secrets.zerotier.networks;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue