81 lines
2.0 KiB
Nix
81 lines
2.0 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 = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||
boot.kernelModules = [ "kvm-amd" "coretemp" "it87" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
services.xserver.videoDrivers = [ "nvidia" ];
|
||
hardware.cpu.amd.updateMicrocode = true;
|
||
|
||
fileSystems."/" =
|
||
{ device = "rpool/root/nixos";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/home" =
|
||
{ device = "rpool/home";
|
||
fsType = "zfs";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/F4EC-57DF";
|
||
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-lun" =
|
||
{ device = "/dev/disk/by-path/ip-10.30.0.1:3260-iscsi-iqn.2019-11.nyanlout.re:steam-lun-1";
|
||
fsType = "ext4";
|
||
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 12;
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||
}
|