1
Fork 0
satellite/hosts/nixos/tethys/hardware/generated.nix

50 lines
2 KiB
Nix
Raw Normal View History

2023-01-10 02:38:06 +01: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-12-10 23:48:46 +01:00
{ config, lib, modulesPath, ... }:
2023-01-10 02:38:06 +01:00
{
imports =
2023-09-22 18:37:24 +02:00
[
(modulesPath + "/installer/scan/not-detected.nix")
2023-01-10 02:38:06 +01:00
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2023-09-22 18:37:24 +02:00
{
device = "/dev/disk/by-uuid/57846041-f177-45eb-aff3-503006bac638";
2023-01-10 02:38:06 +01:00
fsType = "ext4";
};
fileSystems."/boot" =
2023-09-22 18:37:24 +02:00
{
device = "/dev/disk/by-uuid/01E6-A013";
2023-01-10 02:38:06 +01:00
fsType = "vfat";
};
swapDevices =
2023-09-22 18:37:24 +02:00
[{ device = "/dev/disk/by-uuid/5cf4167c-77f4-4afe-b978-65ed5472e3d0"; }];
2023-01-10 02:38:06 +01: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.br-0bc5903170c6.useDHCP = lib.mkDefault true;
# networking.interfaces.br-53c5ffb3733e.useDHCP = lib.mkDefault true;
# networking.interfaces.br-8b13cd8694f3.useDHCP = lib.mkDefault true;
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
# networking.interfaces.ham0.useDHCP = lib.mkDefault true;
# networking.interfaces.veth544819a.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}