nixos_flake_config/nixy/hardware-configuration.nix

43 lines
1.3 KiB
Nix
Raw Normal View History

2023-07-03 22:35:58 +02:00
# 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.
2024-05-30 22:43:23 +02:00
{ config, lib, pkgs, modulesPath, ... }:
2023-07-03 22:35:58 +02:00
2024-05-30 22:43:23 +02:00
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2023-07-03 22:35:58 +02:00
2024-06-13 12:56:29 +02:00
boot.initrd.luks.devices."crypt_dev".device = "/dev/disk/by-uuid/e10821b9-5426-4f03-b716-1645a64fcd6a";
2024-05-30 22:43:23 +02:00
boot.initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "uas" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" "amd-gpu" ];
boot.extraModulePackages = [ ];
2023-07-03 22:35:58 +02:00
2024-05-30 22:43:23 +02:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/c461c971-54ca-4fb7-91e8-6ac70de53ef2";
fsType = "xfs";
};
2023-07-03 22:35:58 +02:00
2024-05-30 22:43:23 +02:00
fileSystems."/nix" =
2024-06-13 12:56:29 +02:00
{ device = "/dev/disk/by-uuid/eeaa6fab-d67d-400f-b6d4-b1f44c2e0047";
fsType = "xfs";
2024-05-30 22:43:23 +02:00
};
2023-07-03 22:35:58 +02:00
2024-05-30 22:43:23 +02:00
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/aeaa71ca-a439-4ef3-9ab8-db7ae8f59376";
fsType = "xfs";
};
2023-07-03 22:35:58 +02:00
2024-05-30 22:43:23 +02:00
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/828E-F3C3";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
2023-07-03 22:35:58 +02:00
2024-05-30 22:43:23 +02:00
swapDevices = [ ];
2023-07-03 22:35:58 +02:00
2024-05-30 22:43:23 +02:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2023-07-03 22:35:58 +02:00
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}