infrastructure/machines/web02/_hardware-configuration.nix
Tom Hubrecht fc0f4a603a
All checks were successful
build configuration / build_vault01 (push) Successful in 53s
build configuration / build_storage01 (push) Successful in 56s
build configuration / build_web01 (push) Successful in 1m12s
build configuration / build_compute01 (push) Successful in 1m24s
build configuration / build_web02 (push) Successful in 55s
feat(machines): Init web02
2024-01-11 12:45:01 +01:00

35 lines
914 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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.
{ pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
boot = {
initrd = {
availableKernelModules =
[ "ata_piix" "uhci_hcd" "ehci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
kernelModules = [ ];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
kernelPackages = pkgs.linuxKernel.packages.linux_6_7;
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/8725c242-144d-495b-8ce4-6f0cef7c8ee3";
fsType = "btrfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/84F6-E7A3";
fsType = "vfat";
};
};
swapDevices =
[{ device = "/dev/disk/by-uuid/d64ae21e-693c-4c77-b62c-97d5e2a960cb"; }];
}