Skip to content

Instantly share code, notes, and snippets.

@globin
Created October 13, 2016 09:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save globin/9fb7ea774adedb443837079caf6b6193 to your computer and use it in GitHub Desktop.
Save globin/9fb7ea774adedb443837079caf6b6193 to your computer and use it in GitHub Desktop.
t460s
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# 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 = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/4f88c4ae-5234-4d5a-9ebb-da3cbc4a2098";
fsType = "ext4";
};
boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/40f66b03-f273-44c6-8286-b762de24a98e";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/A809-2380";
fsType = "vfat";
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment