mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 21:39:23 +02:00
some server stuff
This commit is contained in:
parent
ef6b1a72e4
commit
8aab9b29bd
8 changed files with 304 additions and 60 deletions
17
modules/zerotierone/default.nix
Normal file
17
modules/zerotierone/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue