2018-10-31 00:42:58 +01: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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2020-04-21 02:39:41 +02:00
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
2019-10-15 21:38:23 +02:00
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
2020-04-21 02:39:41 +02:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" "coretemp" "it87" ];
|
2018-10-31 00:42:58 +01:00
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2019-10-04 22:01:49 +02:00
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
2020-04-21 02:39:41 +02:00
|
|
|
|
hardware.cpu.amd.updateMicrocode = true;
|
2024-07-08 14:09:46 +02:00
|
|
|
|
hardware.nvidia = {
|
|
|
|
|
modesetting.enable = true;
|
|
|
|
|
};
|
2019-02-17 21:05:28 +01:00
|
|
|
|
|
2018-10-31 00:42:58 +01:00
|
|
|
|
fileSystems."/" =
|
2019-10-15 21:38:23 +02:00
|
|
|
|
{ device = "rpool/root/nixos";
|
|
|
|
|
fsType = "zfs";
|
|
|
|
|
};
|
|
|
|
|
|
2018-10-31 00:42:58 +01:00
|
|
|
|
fileSystems."/boot" =
|
2019-10-15 21:38:23 +02:00
|
|
|
|
{ device = "/dev/disk/by-uuid/F4EC-57DF";
|
2018-10-31 00:42:58 +01:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
2021-10-14 13:01:23 +02:00
|
|
|
|
fileSystems."/home" =
|
|
|
|
|
{ device = "fastaf/home";
|
|
|
|
|
fsType = "zfs";
|
2018-10-31 00:42:58 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-10-14 13:01:23 +02:00
|
|
|
|
fileSystems."/mnt/steam" =
|
|
|
|
|
{ device = "fastaf/steam";
|
|
|
|
|
fsType = "zfs";
|
2018-10-31 00:42:58 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-10-14 13:01:23 +02:00
|
|
|
|
fileSystems."/mnt/games" =
|
|
|
|
|
{ device = "fastaf/games";
|
|
|
|
|
fsType = "zfs";
|
2018-10-31 00:42:58 +01:00
|
|
|
|
};
|
|
|
|
|
|
2021-10-14 13:01:23 +02:00
|
|
|
|
fileSystems."/mnt/hdd" =
|
|
|
|
|
{ device = "/dev/mapper/ManjaroVG-ManjaroRoot";
|
|
|
|
|
fsType = "ext4";
|
2018-10-31 00:42:58 +01:00
|
|
|
|
};
|
|
|
|
|
|
2019-10-06 18:25:00 +02:00
|
|
|
|
fileSystems."/mnt/medias" =
|
|
|
|
|
{ device = "10.30.0.1:/mnt/medias";
|
2018-10-31 00:42:58 +01:00
|
|
|
|
fsType = "nfs";
|
|
|
|
|
options = ["x-systemd.automount" "noauto"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
2022-10-10 22:25:14 +02:00
|
|
|
|
nix.settings.max-jobs = lib.mkDefault 12;
|
2021-10-14 13:01:23 +02:00
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
2018-10-31 00:42:58 +01:00
|
|
|
|
}
|