This commit is contained in:
TheCrazyInsanity
2026-04-11 14:37:17 -04:00
parent e15989f29f
commit c54bf86f7f
2 changed files with 36 additions and 16 deletions

51
machines/latitude/hardware-configuration.nix Normal file → Executable file
View File

@@ -1,30 +1,51 @@
# 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, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"nvme"
"usb_storage"
"sd_mod"
"sdhci_pci"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d9fee0ac-b35f-4d21-9461-3497af72d8bd";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/d9fee0ac-b35f-4d21-9461-3497af72d8bd";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/299C-03A0";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/299C-03A0";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
swapDevices = [ ];
swapDevices = [
{
device = "/.swapfile";
size = 16 * 1024;
}
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View File

@@ -14,6 +14,5 @@
virtualisation.podman = {
enable = true;
dockerCompat = true;
enableNvidia = true;
};
}