dolomite: refactor
This commit is contained in:
parent
9bf25972e9
commit
d5ff5cbbb2
12 changed files with 139 additions and 224 deletions
|
@ -1,22 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.isClaw;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
options = {
|
||||
isClaw = lib.mkEnableOption "Lightsail instance";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg {
|
||||
config = {
|
||||
boot.initrd.availableKernelModules = [
|
||||
"uhci_hcd"
|
||||
"virtio_blk"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue