infrastructure/nixos/hosts/thalassa/null/hardware-configuration.nix

53 lines
1.8 KiB
Nix
Raw Normal View History

2022-08-20 11:34:41 +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.
2023-05-04 13:06:08 +02:00
{ config, lib, modulesPath, ... }:
2022-08-20 11:34:41 +02:00
{
2023-05-04 13:08:10 +02:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2022-08-20 11:34:41 +02:00
2023-05-04 13:08:10 +02:00
boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "nvme" "rtsx_pci_sdmmc" ];
2022-08-20 11:34:41 +02:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2023-05-04 13:08:10 +02:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/d4f56e5b-2509-4e63-8324-65a35c71e90c";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/d4f56e5b-2509-4e63-8324-65a35c71e90c";
fsType = "btrfs";
options = [ "subvol=@/nix" ];
};
fileSystems."/home" = {
device = "/dev/disk/by-uuid/d4f56e5b-2509-4e63-8324-65a35c71e90c";
fsType = "btrfs";
options = [ "subvol=@home" ];
};
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/D478-6F66";
fsType = "vfat";
};
2022-08-20 11:34:41 +02:00
swapDevices = [ ];
# 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;
2022-10-08 16:34:25 +02:00
# networking.interfaces.wg0.useDHCP = lib.mkDefault true;
2022-08-20 12:55:59 +02:00
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
2022-08-20 11:34:41 +02:00
2022-10-08 16:34:25 +02:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2022-08-20 11:34:41 +02:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2023-05-04 13:08:10 +02:00
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-08-20 11:34:41 +02:00
}