KaitoianOS/hosts/shiroko/hardware-configuration.nix

43 lines
1.6 KiB
Nix
Raw Permalink 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.
2024-09-18 12:01:18 -07:00
{ config, lib, pkgs, modulesPath, ... }:
2024-09-03 18:05:41 -07:00
{
2024-09-18 12:01:18 -07:00
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2024-11-05 10:25:03 -08: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
2024-09-18 12:01:18 -07:00
fileSystems."/" =
2024-11-05 10:25:03 -08:00
{ device = "/dev/disk/by-uuid/082ff607-f7a2-4909-95b3-c5c698f26de5";
2024-09-18 12:01:18 -07:00
fsType = "ext4";
};
2024-09-03 18:05:41 -07:00
2024-11-05 10:25:03 -08:00
boot.initrd.luks.devices."luks-292cc751-7ae1-4a4b-8835-502760a9bf9f".device = "/dev/disk/by-uuid/292cc751-7ae1-4a4b-8835-502760a9bf9f";
2024-09-03 18:05:41 -07:00
2024-09-18 12:01:18 -07:00
fileSystems."/boot" =
2024-11-05 10:25:03 -08:00
{ device = "/dev/disk/by-uuid/524F-2940";
2024-09-18 12:01:18 -07:00
fsType = "vfat";
2024-11-05 10:25:03 -08:00
options = [ "fmask=0022" "dmask=0022" ];
2024-09-18 12:01:18 -07:00
};
2024-09-03 18:05:41 -07:00
2024-09-18 12:01:18 -07:00
swapDevices =
2024-11-05 10:25:03 -08:00
[ { device = "/dev/disk/by-uuid/94f5084c-2995-4a62-a492-9071c122bc08"; }
2024-09-18 12:01:18 -07:00
];
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;
}