hosts/dogma-nixos: track hardware-configuration.nix

- generated btrfs subvol layout, kvm-intel, intel microcode
This commit is contained in:
Jordan Ashurst
2026-09-18 04:23:22 -07:00
parent 5ae9873598
commit 699df197b9
@@ -0,0 +1,55 @@
# 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 + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8b4ceb41-bd18-4cc9-87a6-455a123d67e5";
fsType = "btrfs";
options = [ "subvol=@rootfs" ];
};
fileSystems."/.swapvol" =
{ device = "/dev/disk/by-uuid/8b4ceb41-bd18-4cc9-87a6-455a123d67e5";
fsType = "btrfs";
options = [ "subvol=@swap" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9197-677B";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/8b4ceb41-bd18-4cc9-87a6-455a123d67e5";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/8b4ceb41-bd18-4cc9-87a6-455a123d67e5";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
fileSystems."/partition-root" =
{ device = "/dev/disk/by-uuid/8b4ceb41-bd18-4cc9-87a6-455a123d67e5";
fsType = "btrfs";
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}