syncthing: init
This commit is contained in:
parent
84849d5b2d
commit
8e84af98ac
9 changed files with 91 additions and 6 deletions
|
|
@ -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"];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue