From f6d8e3253f9aadce26cb9f7d51245e2691cd8627 Mon Sep 17 00:00:00 2001 From: Grace Yoder Date: Thu, 24 Sep 2026 19:47:24 -0400 Subject: loadable hosts --- configuration.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'configuration.nix') diff --git a/configuration.nix b/configuration.nix index a321226..2b48913 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,8 +1,7 @@ -{ config, ... }: +{ ... }: let - host = import ./. + "/host.nix"; - conf = import ./. + "/hosts/${host.name}.nix"; + host = import ./host.nix; in { - config = conf; + imports = [ (./hosts + "/${host.name}.nix") ]; } -- cgit v1.3.1