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
1 changed files with 5 additions and 5 deletions

View File

@ -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 ];
};
}
];
};
};
}
```