2023-10-28 23:16:29 +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-05-28 14:38:22 +02:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2023-10-28 23:16:29 +02:00
|
|
|
|
|
|
|
|
|
{
|
2025-01-18 01:26:41 +01:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2025-01-18 01:26:04 +01:00
|
|
|
|
|
2025-02-23 02:20:22 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2025-01-18 01:26:04 +01:00
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2025-02-23 02:20:22 +01:00
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/caa83e18-f2f2-46f9-8c27-0842c3051dc1";
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "subvol=@" ];
|
|
|
|
|
};
|
2023-10-28 23:16:29 +02:00
|
|
|
|
|
2025-02-23 02:20:22 +01:00
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/DADB-44A9";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
|
|
|
|
};
|
2025-01-18 01:26:04 +01:00
|
|
|
|
|
|
|
|
|
fileSystems = {
|
2024-02-27 02:54:02 +01:00
|
|
|
|
"/data" = {
|
2025-01-18 01:26:04 +01:00
|
|
|
|
device = "/dev/disk/by-uuid/a13a2cfa-12af-463d-ae5c-d46c881fcdd6";
|
2023-10-28 23:16:29 +02:00
|
|
|
|
fsType = "btrfs";
|
2025-01-18 01:26:04 +01:00
|
|
|
|
options = [ "nofail" ];
|
2023-10-28 23:16:29 +02:00
|
|
|
|
};
|
2024-02-27 02:54:02 +01:00
|
|
|
|
};
|
2023-10-28 23:16:29 +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;
|
2025-01-18 01:26:04 +01:00
|
|
|
|
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
|
2023-10-28 23:16:29 +02:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2025-02-23 02:20:22 +01:00
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
2024-05-28 14:38:22 +02:00
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-10-28 23:16:29 +02:00
|
|
|
|
}
|