add fs & state version & fixes

This commit is contained in:
asyncnomi 2025-07-18 02:32:38 +02:00
parent b153246f90
commit 662d5a9f2e
4 changed files with 26 additions and 14 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{ config, lib, modulesPath, ... }:
let
# Import nodes
@ -6,6 +6,15 @@ let
myNode = nodes."${config.hostName}";
in
{
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
fileSystems = myNode.fileSystems;
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
boot.loader.grub.enable = true;
boot.loader.grub.device = myNode.grubDevice;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}