Zerotier module
This commit is contained in:
parent
c98844c725
commit
3574569f3a
5 changed files with 15 additions and 13 deletions
19
flake.nix
19
flake.nix
|
|
@ -54,6 +54,12 @@
|
|||
unstablePkgs = import unstable nixpkgsSettings;
|
||||
homeManagerSettings = { home-manager = { useGlobalPkgs = true; useUserPackages = true; }; };
|
||||
|
||||
commonBaseModules = [
|
||||
./nixos_modules/automatic-garbage-collection.nix
|
||||
# ./nixos_modules/tailscale.nix
|
||||
./nixos_modules/zerotier.nix
|
||||
];
|
||||
|
||||
odinBaseModules = [
|
||||
{ nixpkgs = nixpkgsSettings; }
|
||||
./odin/hardware-configuration.nix
|
||||
|
|
@ -61,20 +67,15 @@
|
|||
nixos-hardware.nixosModules.common-pc-laptop
|
||||
nixos-hardware.nixosModules.common-pc-laptop-ssd
|
||||
./odin/common_configuration.nix
|
||||
./nixos_modules/automatic-garbage-collection.nix
|
||||
./nixos_modules/tailscale.nix
|
||||
];
|
||||
] ++ commonBaseModules;
|
||||
|
||||
thorBaseModules = [
|
||||
{ nixpkgs = nixpkgsSettings; }
|
||||
./nixos_modules/automatic-garbage-collection.nix
|
||||
./thor/hardware-configuration.nix
|
||||
nixos-hardware.nixosModules.common-cpu-amd
|
||||
nixos-hardware.nixosModules.common-pc-ssd
|
||||
./thor/configuration.nix
|
||||
./nixos_modules/automatic-garbage-collection.nix
|
||||
./nixos_modules/tailscale.nix
|
||||
];
|
||||
] ++ commonBaseModules;
|
||||
|
||||
lokiBaseModules = [
|
||||
{ nixpkgs = nixpkgsSettings; }
|
||||
|
|
@ -82,9 +83,7 @@
|
|||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
nixos-hardware.nixosModules.common-pc-ssd
|
||||
./loki/configuration.nix
|
||||
./nixos_modules/automatic-garbage-collection.nix
|
||||
./nixos_modules/tailscale.nix
|
||||
];
|
||||
] ++ commonBaseModules;
|
||||
|
||||
odinStable = extraModules: nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
|
|
|||
|
|
@ -175,7 +175,6 @@ with lib;
|
|||
# xkbOptions = "eurosign:e;";
|
||||
# libinput.enable = true;
|
||||
};
|
||||
zerotierone = { enable = true; joinNetworks = [ "8056c2e21cf9c753" ]; };
|
||||
|
||||
zoneminder = {
|
||||
enable = true;
|
||||
|
|
|
|||
6
nixos_modules/zerotier.nix
Normal file
6
nixos_modules/zerotier.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = [ "8056c2e21cf9c753" ];
|
||||
};
|
||||
}
|
||||
|
|
@ -168,7 +168,6 @@ with lib;
|
|||
services.gnome.gnome-keyring.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
services.zerotierone = { enable = true; joinNetworks = [ "8056c2e21cf9c753" ]; };
|
||||
services.gvfs = { enable = true; package = lib.mkForce pkgs.gnome3.gvfs; };
|
||||
# services.tlp.enable = false;
|
||||
services.avahi = {
|
||||
|
|
|
|||
|
|
@ -130,7 +130,6 @@ with lib;
|
|||
xkbOptions = "eurosign:e,terminate:ctrl_alt_bksp,compose:rctrl";
|
||||
};
|
||||
# gnome.gnome-remote-desktop.enable = true;
|
||||
zerotierone = { enable = true; joinNetworks = [ "8056c2e21cf9c753" ]; };
|
||||
};
|
||||
|
||||
services.teamviewer.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue