fixup! dolomite: add hk-00 node
This commit is contained in:
parent
bd2004199f
commit
13b7fab067
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,12 @@
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
lib,
|
lib,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.isClaw;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
|
@ -13,7 +16,7 @@
|
||||||
isClaw = lib.mkEnableOption "Lightsail instance";
|
isClaw = lib.mkEnableOption "Lightsail instance";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = lib.mkIf cfg.isClaw {
|
||||||
boot.initrd.availableKernelModules = [
|
boot.initrd.availableKernelModules = [
|
||||||
"uhci_hcd"
|
"uhci_hcd"
|
||||||
"virtio_blk"
|
"virtio_blk"
|
||||||
|
|
Loading…
Add table
Reference in a new issue