optimizations + overall linting

This commit is contained in:
2025-09-28 15:01:47 -06:00
parent 6da8588e40
commit 56adbf671f
6 changed files with 53 additions and 49 deletions

View File

@@ -1,20 +1,5 @@
{ lib, config, ... }:
let
enableContainers = lib.any (opt: opt) [
config.my.servers.collabora.enable
config.my.servers.ryot.enable
config.my.servers.lidarr.enable
config.my.servers.prowlarr.enable
config.my.servers.maloja.enable
config.my.servers.multi-scrobbler.enable
config.my.servers.flame.enable
config.my.servers.flameSecret.enable
config.my.servers.metube.enable
config.my.servers.go-vod.enable
config.my.servers.tranga.enable
config.my.servers.drpp.enable
config.my.servers.plex-discord-bot.enable
];
filterNames = file: file != "librewolf.nix";
autoImport =
dir:
@@ -182,7 +167,7 @@ in
virtualisation = {
containers.enable = true;
oci-containers.backend = "podman";
podman = lib.mkIf (enableContainers || config.my.enableContainers) {
podman = lib.mkIf config.my.enableContainers {
enable = true;
dockerCompat = true;
dockerSocket.enable = true;