mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-06 11:46:51 +01:00
17 lines
385 B
Nix
17 lines
385 B
Nix
{ 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
|
|
];
|
|
};
|
|
}
|
|
|