Skip to content

Instantly share code, notes, and snippets.

@KyleOndy
KyleOndy / example.nix
Created May 4, 2021 19:56 — forked from mitchellh/example.nix
Nix function for creating a derivation (package) that installs binaries from releases.hashicorp.com
self: super: {
consul-bin = self.callPackage ./hashicorp-generic.nix {
name = "consul";
version = "1.7.3";
sha256 = "0k03n7h5h8miqhh3n3y47894vhwdcp8m611w55f826swmq9angl1";
};
# and so on...
}

Keybase proof

I hereby claim:

  • I am kyleondy on github.
  • I am kyleondy (https://keybase.io/kyleondy) on keybase.
  • I have a public key whose fingerprint is 60EE EA37 3AC9 1844 5FD3 963A 6839 D3AD F871 B092

To claim this, I am signing this object:

@KyleOndy
KyleOndy / Append-Group-Oneliner.ps1
Last active August 29, 2015 14:08
Append-Groups
(Get-ADUser -Identity $CopyGroupsFrom -Properties Memberof).MemberOf | Add-ADGroupMember -Members $CopyGroupsTo