2024-05-20 12:24:36 +02:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
fileSystems."/" =
|
|
|
|
{ device = "/dev/disk/by-uuid/c00b4f87-0c38-45e8-a65e-acb63b837124";
|
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
{ device = "/dev/disk/by-uuid/28E2-7988";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
2024-05-20 20:26:56 +02:00
|
|
|
fileSystems."/home/geir/nfs" =
|
|
|
|
{ device = "files:/mnt/storage";
|
|
|
|
fsType = "nfs";
|
|
|
|
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
|
|
|
|
};
|
2024-05-20 12:24:36 +02:00
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|