2015-10-23 01:26:53 +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, ... }:
|
|
|
|
|
|
|
|
|
|
{
|
2017-01-18 16:07:07 +01:00
|
|
|
|
nix.maxJobs = lib.mkDefault 2;
|
2015-10-23 01:26:53 +02:00
|
|
|
|
|
|
|
|
|
hardware.enableAllFirmware = true;
|
2016-03-27 21:43:29 +02:00
|
|
|
|
hardware.trackpoint.emulateWheel = true;
|
2015-10-23 01:26:53 +02:00
|
|
|
|
|
2017-01-18 16:07:47 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
2015-10-23 01:26:53 +02:00
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2017-01-18 16:07:47 +01:00
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/8567-6D0C";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/948e84dc-5c4f-4051-8a13-efb30155839f";
|
2015-10-23 01:26:53 +02:00
|
|
|
|
fsType = "btrfs";
|
2017-01-18 16:07:47 +01:00
|
|
|
|
options = [ "subvol=nixos" ];
|
2015-10-23 01:26:53 +02:00
|
|
|
|
};
|
2017-01-18 16:07:47 +01:00
|
|
|
|
|
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/948e84dc-5c4f-4051-8a13-efb30155839f";
|
2015-10-23 01:26:53 +02:00
|
|
|
|
fsType = "btrfs";
|
2017-01-18 16:07:47 +01:00
|
|
|
|
options = [ "subvol=home" ];
|
2015-10-23 01:26:53 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/var/lib/rkt" = {
|
|
|
|
|
fsType = "tmpfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/var/lib/cni" = {
|
|
|
|
|
fsType = "tmpfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [ ];
|
|
|
|
|
|
2017-01-18 16:07:47 +01:00
|
|
|
|
boot.loader.grub = {
|
|
|
|
|
device = "/dev/sda";
|
|
|
|
|
efiSupport = true;
|
|
|
|
|
};
|
2015-10-23 01:26:53 +02:00
|
|
|
|
|
2017-01-18 16:07:47 +01:00
|
|
|
|
boot.initrd.luks.devices = [ {
|
|
|
|
|
name = "btrfsroot";
|
|
|
|
|
device = "/dev/disk/by-uuid/0e6b5751-0e6d-4de7-84c3-17fe525c4c72";
|
|
|
|
|
preLVM = true;
|
2015-10-23 01:26:53 +02:00
|
|
|
|
allowDiscards = true;
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
}
|