dotfiles/nix-conf/system/profiles/Felia/hardware-configuration.nix

82 lines
2.2 KiB
Nix
Raw Permalink Normal View History

2022-11-14 18:41:05 +00: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-06-18 00:46:31 +00:00
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [];
2022-11-14 18:41:05 +00:00
2023-06-18 00:46:31 +00:00
boot.initrd.availableKernelModules = [];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
2022-11-14 18:41:05 +00:00
## NOTE: These filesystems are mounted by a wrapper script from nix-wsl
2022-11-14 18:41:05 +00:00
# fileSystems."/" =
# {
# device = "/dev/sdc";
# fsType = "ext4";
# };
#
# fileSystems."/mnt/wsl" =
# {
# device = "tmpfs";
# fsType = "tmpfs";
# };
#
# fileSystems."/mnt/wsl/docker-desktop/shared-sockets/guest-services" =
# {
# device = "none";
# fsType = "tmpfs";
# };
#
2022-11-14 22:39:36 +00:00
# fileSystems."/usr/lib/wsl/drivers" =
# {
# device = "drivers";
# fsType = "drvfs";
# };
#
# fileSystems."/usr/lib/wsl/lib" =
# {
# device = "lib";
# fsType = "drvfs";
# };
2023-06-18 00:46:31 +00:00
fileSystems."/mnt/c" = {
device = "C:";
fsType = "drvfs";
};
2022-11-14 18:41:05 +00:00
2023-06-18 00:46:31 +00:00
fileSystems."/mnt/d" = {
device = "D:";
fsType = "drvfs";
};
2022-11-14 18:41:05 +00:00
2023-06-18 00:46:31 +00:00
fileSystems."/mnt/f" = {
device = "F:";
fsType = "drvfs";
};
2022-11-14 18:41:05 +00:00
2023-06-18 00:46:31 +00:00
swapDevices = [];
2022-11-14 18:41:05 +00: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.bond0.useDHCP = lib.mkDefault true;
# networking.interfaces.bonding_masters.useDHCP = lib.mkDefault true;
# networking.interfaces.dummy0.useDHCP = lib.mkDefault true;
# networking.interfaces.eth0.useDHCP = lib.mkDefault true;
# networking.interfaces.sit0.useDHCP = lib.mkDefault true;
# networking.interfaces.tunl0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}