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
{ config, lib, pkgs, ... }: | |
{ | |
users.users.matrix-appservice-irc.extraGroups = [ "matrix-synapse" ]; | |
systemd.services.matrix-appservice-irc.serviceConfig.SystemCallFilter = | |
[ "@chown" ]; | |
services.matrix-appservice-irc = { | |
enable = true; | |
needBindingCap = true; | |
registrationUrl = "http://127.0.0.1:8009"; |
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
{ config, lib, pkgs, ... }: | |
let | |
domain = config.private.domain; | |
vpn-address = config.private.hosts.${config.networking.hostName}.vpn-address; | |
ldap_base_dn = builtins.concatStringsSep "," | |
(builtins.map (s: "dc=" + s) (lib.splitString "." domain)); | |
in { | |
age.secrets = { | |
lldap-admin-password = { | |
file = ../secrets/lldap-admin-password; |
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
import "lib/codec/utf8" =~ [=> UTF8] | |
import "lib/streams" =~ [=> Sink] | |
exports (main) | |
def partialFlow(source, sink) :Vow[Void] as DeepFrozen: | |
"Flow all packets from `source` to `sink`, like flow(), but don't tell the sink we're done." | |
if (Ref.isBroken(sink)): | |
return sink | |
if (Ref.isBroken(source)): | |
return source |
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
{ | |
jose = { | |
buildTool = "mix"; | |
deps = [ | |
"base64url" | |
]; | |
fetchHex = { | |
sha256 = "7946d1e5c03a76ac9ef42a6e6a20001d35987afd68c2107bcd8f01a84e75aa73"; | |
url = "https://repo.hex.pm/tarballs/jose-1.8.4.tar"; | |
}; |
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
{ lib, stdenv, fetchurl }: | |
stdenv.mkDerivation rec { | |
name= "bitwarden-web-${version}"; | |
version = "2.8.0d"; | |
src = fetchurl { | |
url = "https://github.com/dani-garcia/bw_web_builds/releases/download/v${version}/bw_web_v${version}.tar.gz"; | |
sha256 = "042hdwyn1shf973f1d8zyvslrny87pq2n78xryrb1mqg2806s6fz"; | |
}; |
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
diff -Nru .cargo-orig/config .cargo/config | |
--- a/.cargo/config 1969-12-31 18:00:00.000000000 -0600 | |
+++ b/.cargo/config 2019-02-04 22:55:37.237658171 -0600 | |
@@ -0,0 +1,17 @@ | |
+[source.crates-io] | |
+replace-with = "vendored-sources" | |
+ | |
+[source."https://github.com/dani-garcia/msgpack-rust"] | |
+git = "https://github.com/dani-garcia/msgpack-rust" | |
+branch = "master" |
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
[nix-shell:~/Projects/typhon]$ while rr record -h python main.py -l mast loader run capn/testCapn; do :; done | |
rr: Saving execution to trace directory `/home/washort/.local/share/rr/python-36'. | |
[version:WARNING] Errors getting Mercurial information: Not running from a Mercurial repository! | |
Traceback (most recent call last): | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/import_hooks.py", line 76, in find_module | |
macropy.exporter.export_transformed(code, tree, module_name, file.name) | |
File "/nix/store/0a5xzivfxv5zz4dfjdr05kcyr9kpaw90-pypy6.0-macropy-1.0.4/site-packages/macropy/core/exporters.py", line 30, in export_transformed | |
with open(new_path, "w") as f: | |
IOError: [Errno 2] No such file or directory: 'typhon/exported/objects/files.py' |
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
rr: Saving execution to trace directory `/home/washort/.local/share/rr/mt-typhon-21'. | |
Taking initial turn in script... | |
TRACE: time 1549074526.559192 vat pa | |
~ "Loader args: [\"run\", \"capn/testCapn\"]" | |
TRACE: time 1549074526.559356 vat pa | |
~ "Loading capn/testCapn"rr: Saving execution to trace directory `/home/washort/.local/share/rr/mt-typhon-21'. | |
completed/running/errors/total: 0/0/0/0 Last source: null Last test: nullTRACTaking initial turn in script... | |
E: time 1549074532.254664 vat pa | |
~ TRACE: time 1549074526.559192 vat pa |
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
import "lib/codec/utf8" =~ [=> UTF8 :DeepFrozen] | |
import "lib/capn" =~ capn :DeepFrozen | |
import "tools/capnpc" =~ ["main" => capnpc :DeepFrozen] | |
exports (main) | |
def main(_argv, => currentProcess, => makeProcess, => makeFileResource) as DeepFrozen: | |
def [ (b`CAPNPC`) => CAPNPC ] | _ := currentProcess.getEnvironment() | |
def compile(schema): | |
def tmp := makeFileResource("/tmp/test.capnp").setContents( | |
UTF8.encode(schema, null)) |
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
# Doesn't use 'unittest' because of dependency on `makeProcess`. | |
import "lib/codec/utf8" =~ [=> UTF8 :DeepFrozen] | |
import "lib/streams" =~ [=> collectBytes :DeepFrozen] | |
exports (main) | |
def main(_argv, => makeProcess) as DeepFrozen: | |
def compile(): | |
def pr := makeProcess(b`/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin/ls`, [b`ls`, b`-lR`], | |
[].asMap(), | |
"stdout" => true) |
NewerOlder