Modularise some config

This commit is contained in:
Fern Garden 2025-07-16 16:38:31 +08:00
parent fac0e003a7
commit b504700e61
4 changed files with 145 additions and 144 deletions

View file

@ -25,8 +25,8 @@
sops-nix,
...
} @ inputs: let
helpers = import ./helpers.nix inputs;
inherit (helpers) mergeHosts mkHost;
flock.lib = import ./lib inputs;
inherit (flock.lib) mergeHosts mkHost;
in
mergeHosts [
(mkHost "muskduck" {
@ -45,11 +45,6 @@
];
})
# (mkHost "docker" {
# suite = "vm";
# user = "docker";
# })
(mkHost "minecraft" {
suite = "vm";
user = "docker";