added hardware config

This commit is contained in:
2026-02-15 22:49:56 +00:00
parent 1769e583d8
commit 769ab6f72d

View File

@@ -1,3 +1,32 @@
{ ... }: {
# TODO: needs to filled out later
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/0a885c0e-cf31-43b7-9a91-6f9624758102";
fsType = "xfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C7B5-89D4";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/860c75ce-3afe-47cf-90d8-7612ab543a1e"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}