Fixed bad option in it-tools, pi-hole and traefik. Added virtualization file.

This commit is contained in:
Raphaël Numbus
2026-03-01 17:57:01 +01:00
parent d384fe1f7c
commit de6c80d7b4
5 changed files with 20 additions and 4 deletions
+1
View File
@@ -13,5 +13,6 @@
./passbolt.nix
./pi-hole.nix
./traefik.nix
./virtualization.nix
];
}
+2 -2
View File
@@ -17,8 +17,8 @@ helper.mkPodmanService {
description = "IT-tools, useful tools when doing IT";
pod = "false";
defaultPort = "8880";
configDir = false;
dataDir = false;
configDirEnabled = false;
dataDirEnabled = false;
middlewares = [ "secureHeaders" ];
# Compose file good
+1 -1
View File
@@ -19,7 +19,7 @@ helper.mkPodmanService {
defaultPort = "4443";
scheme = "https";
dependencies = [ "network.target" ];
dataDir = false;
dataDirEnabled = false;
startDelay = 10;
generatedSecrets = {
PIHOLE_PASSWORD = "xkcdpass -n 10 -d -";
+1 -1
View File
@@ -16,7 +16,7 @@ helper.mkPodmanService {
inherit name;
description = "Traefik reverse proxy, one to rule them all";
pod = "false";
dataDir = false;
dataDirEnabled = false;
dependencies = [ "network.target" ];
startDelay = 10;
generatedSecrets = {
+15
View File
@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
let
cfg = config.numbus.services.virtualization;
in
{
options.numbus.services.virtualization = {
enable = mkEnableOption "QEMU/KVM virtualization software";
};
config = mkIf cfg.enable {
virtualisation.libvirtd.enable = true;
};
}