From adaf76e1fbd592d933149128f26d61a02f96a2c9 Mon Sep 17 00:00:00 2001 From: Pacman99 Date: Tue, 18 May 2021 10:23:43 -0700 Subject: [PATCH] doc/hosts: update to new auto-import style --- doc/concepts/hosts.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/concepts/hosts.md b/doc/concepts/hosts.md index b8cc849..37130f3 100644 --- a/doc/concepts/hosts.md +++ b/doc/concepts/hosts.md @@ -33,15 +33,15 @@ that you intend to use on your machine. flake.nix: ```nix { - nixos.hosts = mkMerge [ - (devos.lib.importHosts ./hosts) - { + nixos = { + imports = [ (devos.lib.importHosts ./hosts) ]; + hosts = { librem = { channelName = "latest"; modules = [ nixos-hardware.nixosModules.purism-librem-13v3 ]; }; - } - ]; + }; + }; } ```