doc/hosts: update to new auto-import style

This commit is contained in:
Pacman99 2021-05-18 10:23:43 -07:00
parent d1d2a4ca08
commit adaf76e1fb

View file

@ -33,15 +33,15 @@ that you intend to use on your machine.
flake.nix: flake.nix:
```nix ```nix
{ {
nixos.hosts = mkMerge [ nixos = {
(devos.lib.importHosts ./hosts) imports = [ (devos.lib.importHosts ./hosts) ];
{ hosts = {
librem = { librem = {
channelName = "latest"; channelName = "latest";
modules = [ nixos-hardware.nixosModules.purism-librem-13v3 ]; modules = [ nixos-hardware.nixosModules.purism-librem-13v3 ];
}; };
} };
]; };
} }
``` ```