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
{ | |
"basics": { | |
"name": "Samuel Hierholzer-Ruprecht", | |
"label": "System Engineer, Programmer by trade", | |
"image": "/img/me_small.jpg", | |
"email": "[email protected]", | |
"url": "https://yosemitesam.ch", | |
"summary": "I'm an open source enthusiast with a big love for declarative approaches. I also love to tinker with my system and play around with minimal power user software (tiling wm, emacs, [n]vim, etc.).", | |
"location": { | |
"city": "Winterthur", |
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 oil | |
### TODO: Maybe define a Nix-Snippet standard and allow other snippet sources (from github & co) | |
setglobal SOURCES = [ './snippets' ] | |
setglobal DESTINATION = '/etc/nixos/snippets' | |
setglobal SUDO = 'sudo' | |
proc askVariables (snippet) { | |
### For each ${x} in the snippet, ask if the variable should be replaced by something (and by what) | |
echo |