nixos-config/systems/PC-Fixe/hardware-configuration.nix

56 lines
1.3 KiB
Nix
Raw Normal View History

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;
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 = [ ];
2020-04-21 02:39:41 +02:00
nix.maxJobs = lib.mkDefault 12;
2021-10-14 13:01:23 +02:00
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
2018-10-31 00:42:58 +01:00
}