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.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2022-10-08 16:34:25 +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 = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d4f56e5b-2509-4e63-8324-65a35c71e90c";
fsType = "btrfs";
options = [ "subvol=@" ];
};
2022-10-08 21:38:55 +02:00
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" ];
};
2022-08-20 11:34:41 +02:00
fileSystems."/boot/efi" =
2022-10-08 21:38:55 +02:00
{ device = "/dev/disk/by-uuid/D478-6F66";
2022-08-20 11:34:41 +02:00
fsType = "vfat";
};
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";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}