diff options
author | Griffin Smith <root@gws.fyi> | 2020-05-04T17·19-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2020-05-04T17·19-0400 |
commit | 21783174014640c9a8ed0784bdd91aac9d84aa8e (patch) | |
tree | ff4d622ae73de134cc87787786650942ad02181e /system/modules/urbint.nix | |
parent | 5222b8d15a51d6118b090040a1bfd4d48ffff8c2 (diff) |
urbint system module
Diffstat (limited to 'system/modules/urbint.nix')
-rw-r--r-- | system/modules/urbint.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/system/modules/urbint.nix b/system/modules/urbint.nix new file mode 100644 index 000000000000..4b05175756bc --- /dev/null +++ b/system/modules/urbint.nix @@ -0,0 +1,18 @@ +{ config, pkgs, ... }: +{ + virtualisation.docker.enable = true; + + nix = rec { + binaryCaches = [ "https://nix.urbinternal.com" ]; + trustedBinaryCaches = binaryCaches; + trustedUsers = [ "griffin" ]; + requireSignedBinaryCaches = false; + }; + + services.openvpn.servers.urbint = { + config = '' + config /root/openvpn/urbint.conf + ''; + autoStart = false; + }; +} |