Skip to content

Instantly share code, notes, and snippets.

@asymmetric
Created May 18, 2020 20:21
let
pkgs = import <nixpkgs> {};
c = "${pkgs.yq}/bin/yq . < ${~/code/dotfiles/home/solarized-light-256.yml}";
s = toString c;
j = builtins.fromJSON s;
in
pkgs.runCommand "colors" {} "${j} > $out"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment