doc/hosts: update to new auto-import style
This commit is contained in:
parent
d1d2a4ca08
commit
adaf76e1fb
|
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue