Skip to content

Instantly share code, notes, and snippets.

View jasoncarr0's full-sized avatar

Jason Carr jasoncarr0

View GitHub Profile
@corngood
corngood / configuration.nix
Created January 23, 2017 00:02
NixOS matrix server using nginx
{ config, pkgs, ... }:
{
imports =
[
/etc/nixos/hardware-configuration.nix
];
nix.buildCores = 0;
@sigma
sigma / redis-mini.nix
Created April 17, 2016 06:30
minimal #redis #docker image with #nix
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
su_exec = pkgs.stdenv.mkDerivation {
name = "su-exec-0.2";
src = fetchurl {
url = https://github.com/ncopa/su-exec/archive/v0.2.tar.gz;
sha256 = "09ayhm4w7ahvwk6wpjimvgv8lx89qx31znkywqmypkp6rpccnjpc";
@datakurre
datakurre / .gitignore
Last active December 29, 2022 10:29
Minimal Nix Docker
*.tar.gz
.sentinel.*