This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs }: | |
let plugins = pkgs.callPackage ./plugins.nix {}; | |
in { | |
customRC = ''${builtins.readFile ./vimrc}''; | |
vam = { | |
knownPlugins = pkgs.vimPlugins // plugins; | |
pluginDictionaries = [{ | |
names = [ | |
"Tagbar" | |
"css-pretty" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DSL < BasicObject | |
RUBY_VERSION = ::RUBY_VERSION | |
attr_reader :envs | |
def initialize | |
@envs = ::Hash.new { |h, k| h[k] = [] } | |
@groups = [:default] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with (import <nixpkgs> {}); | |
let | |
npm2nixRepo = fetchFromGitHub { | |
owner = "svanderburg"; | |
repo = "npm2nix"; | |
rev = "758b286acfb077051a17aa9579adc558deeebbd4"; | |
sha256 = "0gmvpxvp75fqw7w7x0c1ywc1zghd1hl6iimbv4xnjwlxgh704yg6"; | |
}; | |
npm2nixOut = (import "${npm2nixRepo}/release.nix" {}).package."${builtins.currentSystem}".outPath; | |
in stdenv.mkDerivation { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'nokogiri' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'http://rubygems.org' | |
gem 'bcrypt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchFromGitHub, kernel }: | |
stdenv.mkDerivation rec { | |
name = "tuxedo-wmi-${kernel.version}-${version}"; | |
version = "1.5.1"; | |
src = fetchFromGitHub { | |
owner = "metmayhem"; | |
repo = "tuxedo-wmi"; | |
rev = "a6ab8d4160b16ab75e2a820e1d69e71934017515"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'bundler' | |
require 'json' | |
require 'open-uri' | |
require 'open3' | |
require 'pp' | |
class Bundix | |
VERSION = '2.0.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
packageOverrides = pkgs: | |
let | |
bundlerGem = { buildRubyGem, makeWrapper, ruby, coreutils }: | |
buildRubyGem { | |
name = "bundler-1.9.10"; | |
namePrefix = ""; | |
sha256 = "0ygpfvk51x96a8r3jknx7vf6afabxqp8byayvkka3rqkwv0jssqs"; | |
dontPatchShebangs = true; | |
postInstall = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xi ~/ops % nixops deploy -d trivial | |
webserver> Waiting for VM "nixops-0755b111-7bff-11e5-b063-02421be13bea-webserver" to power on... | |
webserver> VM "nixops-0755b111-7bff-11e5-b063-02421be13bea-webserver" has been successfully started. | |
error: command ‘['VBoxManage', 'startvm', u'nixops-0755b111-7bff-11e5-b063-02421be13bea-webserver']’ failed on machine ‘webserver’ (exit code 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xi ~/tmp/steamcmd % file linux32/steamcmd | |
linux32/steamcmd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.34, BuildID[sha1]=17188c02dec11be2af104afd625f39a2c89b54c7, not stripped | |
xi ~/tmp/steamcmd % linux32/steamcmd | |
zsh: no such file or directory: linux32/steamcmd |