syncthing: init

This commit is contained in:
ooks-io 2025-01-28 19:58:23 +11:00
parent 84849d5b2d
commit 8e84af98ac
9 changed files with 91 additions and 6 deletions

View file

@ -3,7 +3,7 @@
pkgs,
...
}: let
inherit (lib) mkOption;
inherit (lib) mkEnableOption mkOption;
inherit (lib.types) str enum bool package;
in {
options.ooknet.host = {
@ -18,6 +18,10 @@ in {
type = enum ["workstation" "server"];
};
syncthing = {
enable = mkEnableOption "Enable syncthing";
};
boot = {
loader = mkOption {
type = enum ["systemd" "grub"];