nixos/hosts/physical/crow/hardware-configuration.nix

71 lines
2.1 KiB
Nix
Raw Normal View History

2025-12-07 22:57:38 -05: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.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/310d77f1-247d-4db9-9db0-be6b70483bd8";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9F36-9DE8";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
2026-03-06 01:03:59 +00:00
fileSystems."/mnt/steam" =
2026-03-06 01:16:46 +00:00
{ device = "/dev/disk/by-uuid/f800bb63-5798-4faa-b2d2-50073215e391";
2026-03-06 01:03:59 +00:00
fsType = "ext4";
options = [ "users" "nofail" "exec" "defaults" ];
};
2025-12-07 22:57:38 -05:00
swapDevices =
[ { device = "/dev/disk/by-uuid/d7fbd2b2-c943-457b-afc1-ad355d30a5c2"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2025-12-26 17:54:27 +00:00
# Enable support for Corsair Scimitar
hardware.ckb-next = {
enable = true;
package = pkgs.ckb-next.overrideAttrs (old: {
cmakeFlags = (old.cmakeFlags or [ ]) ++ [ "-DUSE_DBUS_MENU=0" ];
});
};
2026-04-16 15:05:13 +00:00
# Enable bluetooth
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
# Shows battery charge of connected devices on supported
# Bluetooth adapters. Defaults to 'false'.
Experimental = true;
# When enabled other devices can connect faster to us, however
# the tradeoff is increased power consumption. Defaults to
# 'false'.
FastConnectable = true;
};
Policy = {
# Enable all controllers when they are found. This includes
# adapters present on start as well as adapters that are plugged
# in later on. Defaults to 'true'.
AutoEnable = true;
};
};
};
2025-12-07 22:57:38 -05:00
}