Skip to content

Instantly share code, notes, and snippets.

View patrl's full-sized avatar

Patrick Elliott patrl

View GitHub Profile

Keybase proof

I hereby claim:

  • I am patrl on github.
  • I am patrl (https://keybase.io/patrl) on keybase.
  • I have a public key ASDOGewU9ogOAUQzTXIqQnWj40zZ4xawNSU1TUu2m7U9vgo

To claim this, I am signing this object:

@patrl
patrl / 40_custom
Created October 3, 2016 14:38
Custom menu entries for grub2 for btrfs subvolumes. This file lives in /etc/grub.d/.
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "NixOS" {
set root=(hd0,gpt3)
configfile '/@nixos/boot/grub/grub.cfg'
}