This file contains 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, lib, makeWrapper, bundler, bundix, ruby }: | |
stdenv.mkDerivation { | |
name = "nix-gemspec"; | |
src = ./.; | |
buildInputs = [ makeWrapper ruby ]; | |
installPhase = '' | |
install -D -m755 nix-gemspec.rb $out/bin/nix-gemspec | |
patchShebangs $out/bin/nix-gemspec |
This file contains 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 ? import (builtins.fetchTarball { | |
# nixpkgs-unstable 2019-01-22 | |
url = https://github.com/NixOS/nixpkgs/archive/a5de41088031e6d3d4f799ef3964317a74e72169.tar.gz; | |
sha256 = "0ycsai65dbcwmns36a0pkxpsgpl86q273c27ag80nijfb1w88201"; | |
}) {} | |
, revealjs ? pkgs.fetchFromGitHub { | |
owner = "hakimel"; | |
repo = "reveal.js"; | |
rev = "3.7.0"; |
This file contains 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, ... }: | |
{ | |
security.acme.certs."qyliss.net" = { | |
email = "[email protected]"; | |
postRun = "systemctl reload nginx.service"; | |
webroot = "/var/lib/acme/acme-challenge"; | |
}; | |
services.nginx.enable = true; |
This file contains 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
{ ... }: | |
{ | |
launchd.user.agents.dnscrypt-proxy = { | |
serviceConfig.RunAtLoad = true; | |
serviceConfig.KeepAlive = true; | |
serviceConfig.ProgramArguments = [ | |
"${pkgs.dnscrypt-proxy2}/bin/dnscrypt-proxy" | |
"-config" | |
(toString (pkgs.writeText "dnscrypt-proxy.toml" '' |
This file contains 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, ... }: | |
{ | |
networking.networkmanager.enable = true; | |
networking.networkmanager.ethernet.macAddress = "random"; | |
networking.networkmanager.wifi.macAddress = "random"; | |
networking.networkmanager.extraConfig = '' | |
[connection-extra] | |
ethernet.generate-mac-address-mask=FE:FF:FF:00:00:00 | |
wifi.generate-mac-address-mask=FE:FF:FF:00:00:00 |
This file contains 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
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBK6xI1vfSCrhGzxUylT/+nHT5Yq9XPjSssgGmtmsZeO |
This file contains 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 bash | |
run_list() { | |
osascript <<OSA | |
tell application "Viscosity" | |
repeat with theConnection in connections | |
set theName to name of theConnection | |
set theState to state of theConnection | |
log theName & ": " & theState | |
end repeat |
This file contains 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
address=/.localhost/127.0.0.1 | |
address=/.test/127.0.0.1 | |
address=/.lvh.me/127.0.0.1 |
This file contains 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
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
My Signal fingerprint: 20273 47553 69079 98765 30821 08445 | |
-----BEGIN PGP SIGNATURE----- | |
iQIzBAEBCAAdFiEENgEcZvPSC1GwnS7FbPBk0Unjq9sFAlq5ZTQACgkQbPBk0Unj | |
q9tW5Q/+JbvJjfjM3/00oaVlyVTG9KTkezSBeNoVH38Pz1SIoqw2Kq03F3xLTPnL | |
UzOz2LD7e6F0f2brDnf1GKnbUp0TSmtbG/QQhJizDCu51QegctccUxLPEvDZ+w2M | |
KgLfisimvERlIDhI5wBYBme/eemu21viaeriRN3T89zuK0MIlaWZamB9upmswzRf |
This file contains 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
require "yaml" | |
require "twitter" | |
config = YAML.load_file(File.expand_path("~/.trc")).dig("profiles", "qyliss").each_value.first | |
last_status = ARGV.fetch(0) | |
twitter = Twitter::REST::Client.new do |t| | |
t.consumer_key = config.fetch("consumer_key") | |
t.consumer_secret = config.fetch("consumer_secret") |
NewerOlder