2024-07-16 19:46:16 +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.
|
|
|
|
|
|
{
|
2024-09-18 12:03:23 +02:00
|
|
|
|
config,
|
|
|
|
|
|
lib,
|
|
|
|
|
|
pkgs,
|
|
|
|
|
|
modulesPath,
|
|
|
|
|
|
...
|
|
|
|
|
|
}: {
|
|
|
|
|
|
imports = [
|
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod"];
|
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
|
boot.kernelModules = ["kvm-intel"];
|
|
|
|
|
|
boot.extraModulePackages = [];
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/29ecd09f-8852-4582-a78a-ec1aa1e7b2b9";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/pile" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/51ff5791-f197-4dfd-850a-00a8726ddb31";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/E135-9F42";
|
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
options = ["fmask=0022" "dmask=0022"];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2025-05-03 14:39:51 +02:00
|
|
|
|
swapDevices = [{
|
|
|
|
|
|
device = "/swapfile";
|
|
|
|
|
|
# 16 GB swap
|
|
|
|
|
|
size = 16 * 1024;
|
|
|
|
|
|
}];
|
|
|
|
|
|
zramSwap.enable = true;
|
2024-07-16 19:46:16 +02: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;
|
2024-08-23 10:20:05 +02:00
|
|
|
|
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
|
2024-07-16 19:46:16 +02:00
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2025-05-03 15:00:05 +02:00
|
|
|
|
|
|
|
|
|
|
# rocm amdgpu
|
|
|
|
|
|
hardware.graphics.extraPackages = [pkgs.rocmPackages.clr.icd];
|
2024-07-16 19:46:16 +02:00
|
|
|
|
}
|