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

66 lines
1.7 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>
];
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "firewire_ohci" "pata_marvell" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
2018-12-12 23:42:02 +01:00
boot.kernelModules = [ "kvm-intel" "nct6775" ];
2018-10-31 00:42:58 +01:00
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/509a5842-56fe-40bd-8b00-6bda87e02e5e";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A225-07A5";
fsType = "vfat";
};
fileSystems."/mnt/hdd" =
{ device = "/dev/mapper/ManjaroVG-ManjaroRoot";
fsType = "ext4";
};
fileSystems."/home/paul/Documents" =
{ device = "/mnt/hdd/paul/Documents";
options = [ "bind" ];
};
fileSystems."/home/paul/Downloads" =
{ device = "/mnt/hdd/paul/Téléchargements";
options = [ "bind" ];
};
fileSystems."/home/paul/Music" =
{ device = "/mnt/hdd/paul/Musique";
options = [ "bind" ];
};
fileSystems."/home/paul/Pictures" =
{ device = "/mnt/hdd/paul/Images";
options = [ "bind" ];
};
fileSystems."/home/paul/Videos" =
{ device = "/mnt/hdd/paul/Vidéos";
options = [ "bind" ];
};
fileSystems."/mnt/steam" =
{ device = "192.168.0.5:/exports/steam";
fsType = "nfs";
options = ["x-systemd.automount" "noauto"];
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
}