feat: move more stuff into system_profiles

This commit is contained in:
Ranomier 2025-06-17 01:21:21 +02:00
parent 7f48da24e9
commit 6c8f40ff8f
6 changed files with 7 additions and 8 deletions

View file

@ -6,10 +6,6 @@
modulesPath, modulesPath,
... ...
}: { }: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot = { boot = {
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"]; initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
initrd.kernelModules = []; initrd.kernelModules = [];

View file

@ -6,9 +6,6 @@
modulesPath, modulesPath,
... ...
}: { }: {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot = { boot = {
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"]; initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"];
initrd.kernelModules = []; initrd.kernelModules = [];

View file

@ -11,7 +11,6 @@
./locale.nix ./locale.nix
./networking.nix ./networking.nix
#./plymouth.nix # increases boot time too much #./plymouth.nix # increases boot time too much
#./serial-console.nix # probably only for servers
./theming.nix ./theming.nix
]; ];
} }

View file

@ -0,0 +1,6 @@
{modulesPath, ...}; {
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
services.qemuGuest.enable = true;
}

View file

@ -2,6 +2,7 @@
imports = [ imports = [
./components/minify.nix ./components/minify.nix
./components/nix-defaults.nix ./components/nix-defaults.nix
./components/qemu.nix
./importers/general.nix ./importers/general.nix
./importers/server.nix ./importers/server.nix