some server stuff

This commit is contained in:
jopejoe1 2024-01-18 20:12:43 +01:00
parent ef6b1a72e4
commit 8aab9b29bd
8 changed files with 304 additions and 60 deletions

View file

@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
let cfg = config.jopejoe1.zerotierone;
in {
options.jopejoe1.zerotierone = {
enable = lib.mkEnableOption "Enable zerotierone";
};
config = lib.mkIf cfg.enable {
services.zerotierone.enable = true;
services.zerotierone.joinNetworks = [ "7c31a21e86f9a75c" ];
environment.systemPackages = with pkgs; [
moonlight-qt
];
};
}