System Gen182 @ 2025-05-02-23:48:15 by jonas@comfy-station

This commit is contained in:
2025-05-02 23:48:16 +02:00
parent 87db9887c2
commit 7add5e0db6
23 changed files with 302 additions and 247 deletions

View File

@@ -4,9 +4,9 @@
pkgs,
...
}: let
cfg = config.services.borg-server;
cfg = config.hive.borg-server;
in {
options.services.borg-server = {
options.hive.borg-server = {
enable = lib.mkEnableOption "Enable the borg server";
package = lib.mkOption {
type = lib.types.package;

View File

@@ -4,9 +4,9 @@
pkgs,
...
}: let
cfg = config.services.nextcloud-instance;
cfg = config.hive.nextcloud-instance;
in {
options.services.nextcloud-instance = {
options.hive.nextcloud-instance = {
enable = lib.mkEnableOption "Enable the Nextcloud instance";
instanceFQDN = lib.mkOption {

View File

@@ -3,24 +3,22 @@
config,
...
}: let
cfg = config.services.virt-manager;
cfg = config.hive.virt-manager;
in {
options = {
services.virt-manager = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable the qemu-kvm + libvirt stack.
'';
};
forUsers = lib.mkOption {
type = lib.types.listOf lib.types.singleLineStr;
default = [];
description = ''
List of users that should be added to the libvirt group.
'';
};
options.hive.virt-manager = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Enable the qemu-kvm + libvirt stack.
'';
};
forUsers = lib.mkOption {
type = lib.types.listOf lib.types.singleLineStr;
default = [];
description = ''
List of users that should be added to the libvirt group.
'';
};
};