nix-conf/systems/omoikane/hardware.nix

53 lines
1.3 KiB
Nix
Raw Normal View History

2024-07-02 13:34:55 +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-07-10 23:02:54 +02:00
{
config,
lib,
modulesPath,
...
}:
2024-07-02 13:34:55 +02:00
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2024-07-10 23:02:54 +02:00
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"thunderbolt"
"usbhid"
"usb_storage"
"sd_mod"
];
2024-07-02 13:34:55 +02:00
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
2024-07-10 23:02:54 +02:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/6842a9de-c5fd-4648-b3b8-f76e56633825";
fsType = "ext4";
};
2024-07-02 13:34:55 +02:00
boot.initrd.luks.devices."luks-eaed8652-a306-4434-a187-71e6fcb13e71".device = "/dev/disk/by-uuid/eaed8652-a306-4434-a187-71e6fcb13e71";
2024-07-10 23:02:54 +02:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/7C5A-EE45";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
];
};
fileSystems."/home/jopejoe1/Public/games" = {
device = "/dev/sda";
fsType = "bcachefs";
options = [ "compression=zstd" ];
};
2024-07-02 13:34:55 +02:00
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}