urbint system module
This commit is contained in:
parent
5222b8d15a
commit
2178317401
2 changed files with 19 additions and 2 deletions
|
@ -100,9 +100,8 @@
|
|||
};
|
||||
|
||||
nix = {
|
||||
trustedUsers = [ "griffin" ];
|
||||
autoOptimiseStore = true;
|
||||
};
|
||||
}
|
||||
|
||||
buildMachines = [{
|
||||
hostName = "172.16.0.3";
|
||||
|
|
18
system/modules/urbint.nix
Normal file
18
system/modules/urbint.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue