76 lines
1.9 KiB
Nix
76 lines
1.9 KiB
Nix
# 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" ];
|
||
boot.kernelModules = [ "kvm-intel" "nct6775" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
services.xserver.videoDrivers = [ "nvidia" ];
|
||
|
||
hardware.cpu.intel.updateMicrocode = true;
|
||
|
||
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/Téléchargements" =
|
||
{ device = "/mnt/hdd/paul/Téléchargements";
|
||
options = [ "bind" ];
|
||
};
|
||
|
||
fileSystems."/home/paul/Musique" =
|
||
{ device = "/mnt/hdd/paul/Musique";
|
||
options = [ "bind" ];
|
||
};
|
||
|
||
fileSystems."/home/paul/Images" =
|
||
{ device = "/mnt/hdd/paul/Images";
|
||
options = [ "bind" ];
|
||
};
|
||
|
||
fileSystems."/home/paul/Vidéos" =
|
||
{ device = "/mnt/hdd/paul/Vidéos";
|
||
options = [ "bind" ];
|
||
};
|
||
|
||
fileSystems."/mnt/steam" =
|
||
{ device = "10.30.0.1:/exports/steam";
|
||
fsType = "nfs";
|
||
options = ["x-systemd.automount" "noauto"];
|
||
};
|
||
|
||
fileSystems."/mnt/medias" =
|
||
{ device = "10.30.0.1:/mnt/medias";
|
||
fsType = "nfs";
|
||
options = ["x-systemd.automount" "noauto"];
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nix.maxJobs = lib.mkDefault 4;
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||
}
|