2025-06-20 11:59:24 -07: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 =
|
2025-08-12 11:58:29 -07:00
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
2025-06-20 11:59:24 -07:00
|
|
|
|
];
|
|
|
|
|
|
2025-08-12 11:58:29 -07:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
2025-06-20 11:59:24 -07:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
2025-08-12 11:58:29 -07:00
|
|
|
|
# hardware.nvidia.open=false;
|
2025-06-20 11:59:24 -07:00
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2025-08-12 11:58:29 -07:00
|
|
|
|
{ device = "/dev/disk/by-uuid/f7766025-9e57-4b52-b47c-b158b3a894f2";
|
2025-06-20 11:59:24 -07:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
|
|
|
|
|
2025-08-12 11:58:29 -07:00
|
|
|
|
boot.initrd.luks.devices."luks-847548dd-10b5-46d1-82f4-bf982a32c1b5".device = "/dev/disk/by-uuid/847548dd-10b5-46d1-82f4-bf982a32c1b5";
|
2025-06-20 11:59:24 -07:00
|
|
|
|
|
2025-08-12 11:58:29 -07:00
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/B177-CFE7";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [{
|
|
|
|
|
device = "/var/lib/swapfile";
|
|
|
|
|
size = 8*1024;
|
|
|
|
|
}];
|
2025-06-20 11:59:24 -07: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;
|
2025-08-12 11:58:29 -07:00
|
|
|
|
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlp61s0.useDHCP = lib.mkDefault true;
|
2025-06-20 11:59:24 -07:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2025-08-12 11:58:29 -07:00
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2025-06-20 11:59:24 -07:00
|
|
|
|
}
|