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

82 lines
2.1 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, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
2019-10-15 21:38:23 +02:00
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "nvme" "firewire_ohci" "pata_marvell" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
2018-12-12 23:42:02 +01:00
boot.kernelModules = [ "kvm-intel" "nct6775" ];
2018-10-31 00:42:58 +01:00
boot.extraModulePackages = [ ];
2019-10-04 22:01:49 +02:00
services.xserver.videoDrivers = [ "nvidia" ];
hardware.cpu.intel.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";
};
fileSystems."/home" =
{ device = "rpool/home";
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";
};
fileSystems."/mnt/hdd" =
{ device = "/dev/mapper/ManjaroVG-ManjaroRoot";
fsType = "ext4";
};
fileSystems."/home/paul/Documents" =
{ device = "/mnt/hdd/paul/Documents";
options = [ "bind" ];
};
2019-10-06 18:25:00 +02:00
fileSystems."/home/paul/Téléchargements" =
2018-10-31 00:42:58 +01:00
{ device = "/mnt/hdd/paul/Téléchargements";
options = [ "bind" ];
};
2019-10-06 18:25:00 +02:00
fileSystems."/home/paul/Musique" =
2018-10-31 00:42:58 +01:00
{ device = "/mnt/hdd/paul/Musique";
options = [ "bind" ];
};
2019-10-06 18:25:00 +02:00
fileSystems."/home/paul/Images" =
2018-10-31 00:42:58 +01:00
{ device = "/mnt/hdd/paul/Images";
options = [ "bind" ];
};
2019-10-06 18:25:00 +02:00
fileSystems."/home/paul/Vidéos" =
2018-10-31 00:42:58 +01:00
{ device = "/mnt/hdd/paul/Vidéos";
options = [ "bind" ];
};
2019-11-21 02:12:58 +01:00
fileSystems."/mnt/steam-lun" =
{ device = "/dev/disk/by-path/ip-10.30.0.1:3260-iscsi-iqn.2019-11.nyanlout.re:steam-lun-1";
fsType = "ext4";
2019-10-06 18:25:00 +02:00
options = ["x-systemd.automount" "noauto"];
};
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 = [ ];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}