1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: exclude microvms in minimal config

This commit is contained in:
oddlama 2023-10-02 20:06:41 +02:00
parent 4dae9408a5
commit f32a2641b7
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 16 additions and 11 deletions

View file

@ -3,6 +3,7 @@
inputs, inputs,
lib, lib,
nodes, nodes,
minimal,
... ...
}: { }: {
imports = [ imports = [
@ -62,17 +63,19 @@
]; ];
}; };
in in
lib.genAttrs [ lib.mkIf (!minimal) (
"adguardhome" lib.genAttrs [
"forgejo" "adguardhome"
"grafana" "forgejo"
"influxdb" "grafana"
"kanidm" "influxdb"
"loki" "kanidm"
"paperless" "loki"
"vaultwarden" "paperless"
] "vaultwarden"
defaultConfig; ]
defaultConfig
);
#ddclient = defineVm; #ddclient = defineVm;
#samba+wsdd = defineVm; #samba+wsdd = defineVm;

View file

@ -4,6 +4,7 @@
lib, lib,
pkgs, pkgs,
utils, utils,
minimal,
... ...
}: let }: let
inherit inherit
@ -93,6 +94,7 @@
inherit (inputs.self) nodes; inherit (inputs.self) nodes;
inherit (inputs.self.pkgs.${vmCfg.system}) lib; inherit (inputs.self.pkgs.${vmCfg.system}) lib;
inherit inputs; inherit inputs;
inherit minimal;
}; };
pkgs = inputs.self.pkgs.${vmCfg.system}; pkgs = inputs.self.pkgs.${vmCfg.system};
inherit (vmCfg) autostart; inherit (vmCfg) autostart;