nixos-config/hardware-configuration.nix

55 lines
1.3 KiB
Nix
Raw Normal View History

2018-03-31 22:16:38 +02: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>
];
2018-04-01 11:28:01 +02:00
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "nvme" "usbhid" "sd_mod" ];
2018-03-31 22:16:38 +02:00
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/a4ee920a-6539-4c78-aa5b-a61bf27c002d";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/BAA3-0464";
fsType = "vfat";
};
2018-04-01 11:28:01 +02:00
fileSystems."/mnt/loutrepool" =
{ device = "loutrepool";
fsType = "zfs";
};
2018-04-01 12:27:49 +02:00
fileSystems."/mnt/containers_volumes" =
{ device = "loutrepool/containers_volumes";
2018-04-01 11:28:01 +02:00
fsType = "zfs";
};
2018-04-01 12:27:49 +02:00
fileSystems."/mnt/medias" =
{ device = "loutrepool/medias";
2018-04-01 11:28:01 +02:00
fsType = "zfs";
};
2018-04-01 12:27:49 +02:00
fileSystems."/mnt/steam" =
{ device = "loutrepool/steam";
2018-04-01 11:28:01 +02:00
fsType = "zfs";
};
2018-04-01 12:27:49 +02:00
fileSystems."/mnt/syncthing" =
{ device = "loutrepool/syncthing";
2018-04-01 11:28:01 +02:00
fsType = "zfs";
};
2018-03-31 22:16:38 +02:00
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 4;
2018-04-01 11:28:01 +02:00
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
2018-03-31 22:16:38 +02:00
}