Advertisement
Guest User

Untitled

a guest
Sep 11th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. # Edit this configuration file to define what should be installed on
  2. # your system. Help is available in the configuration.nix(5) man page
  3. # and in the NixOS manual (accessible by running ‘nixos-help’).
  4.  
  5. { config, pkgs, ... }:
  6.  
  7. {
  8. nixpkgs.overlays = [(self: super: {open-vm-tools = super.open-vm-tools.overrideAttrs (o: {patches = (o.patches or []) ++ ./your-patch-file.patch;});})];
  9.  
  10. imports =
  11. [ # Include the results of the hardware scan.
  12. ./hardware-configuration.nix
  13. ];
  14.  
  15. # Use the GRUB 2 boot loader.
  16. boot.loader.grub.enable = true;
  17. boot.loader.grub.version = 2;
  18. # boot.loader.grub.efiSupport = true;
  19. # boot.loader.grub.efiInstallAsRemovable = true;
  20. # boot.loader.efi.efiSysMountPoint = "/boot/efi";
  21. # Define on which hard drive you want to install Grub.
  22. boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement