feat: move more stuff into system_profiles
This commit is contained in:
parent
7f48da24e9
commit
6c8f40ff8f
6 changed files with 7 additions and 8 deletions
|
@ -6,10 +6,6 @@
|
|||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
|
||||
initrd.kernelModules = [];
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
boot = {
|
||||
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
|
||||
initrd.kernelModules = [];
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
./locale.nix
|
||||
./networking.nix
|
||||
#./plymouth.nix # increases boot time too much
|
||||
#./serial-console.nix # probably only for servers
|
||||
./theming.nix
|
||||
];
|
||||
}
|
||||
|
|
6
system_profiles/components/qemu.nix
Normal file
6
system_profiles/components/qemu.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{modulesPath, ...}; {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
services.qemuGuest.enable = true;
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
imports = [
|
||||
./components/minify.nix
|
||||
./components/nix-defaults.nix
|
||||
./components/qemu.nix
|
||||
|
||||
./importers/general.nix
|
||||
./importers/server.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue