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

View file

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