KaitoianOS/hosts/shiroko/hardware-configuration.nix

54 lines
1.6 KiB
Nix
Raw Normal View History

2024-09-03 18:05:41 -07: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") ];
2024-09-03 18:05:41 -07:00
boot.initrd.availableKernelModules = [
"xhci_pci"
"thunderbolt"
"nvme"
"usb_storage"
"sd_mod"
"rtsx_pci_sdmmc"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2024-09-03 18:05:41 -07:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/de53d520-7b49-4353-b88c-b599f8f50fbb";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-1910bfb7-9cc4-4aff-88cb-8644012531d2".device = "/dev/disk/by-uuid/1910bfb7-9cc4-4aff-88cb-8644012531d2";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/C5E5-09F1";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
2024-09-03 18:05:41 -07:00
};
swapDevices = [ ];
2024-09-03 18:05:41 -07:00
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp89s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}