1
0
Fork 0
conf/nixos/henna/hardware-configuration.nix

42 lines
1.5 KiB
Nix
Raw Normal View History

2023-05-13 19:23:21 +03: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")
];
2023-05-21 21:01:33 +03:00
boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "usbhid" "sd_mod" "sr_mod" "sdhci_pci" ];
2023-05-13 19:23:21 +03:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2023-05-21 21:01:33 +03:00
{ device = "juures";
fsType = "zfs";
2023-05-13 19:23:21 +03:00
};
2023-05-21 21:01:33 +03:00
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5823-85C0";
fsType = "vfat";
};
2023-05-13 19:23:21 +03:00
swapDevices =
2023-05-21 21:01:33 +03:00
[ { device = "/dev/disk/by-uuid/56644356-389c-4b99-9a49-6fddb7dec763"; }
{ device = "/dev/disk/by-uuid/6dc6f2c6-4850-4f91-befc-4eaf68e7fd07"; }
2023-05-13 19:23:21 +03: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.enp9s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}