# 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, ... }: { boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "sd_mod" ]; boot.kernelModules = [ "nf_conntrack_proto_gre" "nf_conntrack_pptp" "kvm-intel" ]; boot.extraModulePackages = [ ]; nix.maxJobs = lib.mkDefault 2; nix.buildCores = 2; boot.kernelPackages = pkgs.linuxPackages_latest; # Bootloader, initrd and Kernel boot.loader.grub.enable = true; boot.loader.grub.enableCryptodisk = true; boot.loader.grub.version = 2; # Workaround for nm-pptp boot.tmpOnTmpfs = true; hardware.enableAllFirmware = true; hardware.trackpoint.emulateWheel = true; fileSystems."/" = { device = "/dev/disk/by-uuid/c428a7e0-cd80-4ae7-90fb-530a9676278e"; fsType = "btrfs"; options = [ "defaults" "compress=lzo" "subvol=nixos" ]; }; fileSystems."/home" = { device = "/dev/disk/by-uuid/c428a7e0-cd80-4ae7-90fb-530a9676278e"; fsType = "btrfs"; options = [ "defaults" "compress=lzo" "subvol=home" ]; }; fileSystems."/var/lib/rkt" = { fsType = "tmpfs"; }; fileSystems."/var/lib/cni" = { fsType = "tmpfs"; }; swapDevices = [ ]; # Define on which hard drive you want to install Grub. boot.loader.grub.device = "/dev/sda"; boot.initrd.luks.devices = [ { name = "luksroot"; device = "/dev/disk/by-uuid/4ac7f8ba-4dea-41e8-99ea-b794aace24a1"; preLVM = false; allowDiscards = true; } ]; }