diff options
author | makefu <github@syntax-fehler.de> | 2015-10-21 14:45:27 +0200 |
---|---|---|
committer | makefu <makefu@syntax-fehler.de> | 2015-11-23 22:10:14 +0100 |
commit | 0bdc5e269be16aeaa946dd136051d8e4d15c6014 (patch) | |
tree | bdddf2a72452521c745a047883baaceff7527208 /nixos/modules/misc/ids.nix | |
parent | 21abe66d78160f49604e564cafdd6f724f44b345 (diff) | |
download | nixpkgs-0bdc5e269be16aeaa946dd136051d8e4d15c6014.tar nixpkgs-0bdc5e269be16aeaa946dd136051d8e4d15c6014.tar.gz nixpkgs-0bdc5e269be16aeaa946dd136051d8e4d15c6014.tar.bz2 nixpkgs-0bdc5e269be16aeaa946dd136051d8e4d15c6014.tar.lz nixpkgs-0bdc5e269be16aeaa946dd136051d8e4d15c6014.tar.xz nixpkgs-0bdc5e269be16aeaa946dd136051d8e4d15c6014.tar.zst nixpkgs-0bdc5e269be16aeaa946dd136051d8e4d15c6014.zip |
services/misc/bepasty: init at 2015-10-21
This module implements a way to start one or more bepasty servers. It supports configuring the listen address of gunicorn and how bepasty behaves internally. Configuring multiple bepasty servers provides a way to serve pastes externally without authentication and provide creating,listing,deleting pastes interally. nginx can be used to provide access via hostname + listen address. `configuration.nix`: services.bepasty = { enable = true; servers = { internal = { defaultPermissions = "admin,list,create,read,delete"; secretKey = "secret"; bind = "127.0.0.1:8000"; }; external = { defaultPermissions = "read"; bind = "127.0.0.1:8001"; secretKey = "another-secret"; }; }; };
Diffstat (limited to 'nixos/modules/misc/ids.nix')
-rw-r--r-- | nixos/modules/misc/ids.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index b1130c2b124..c9810b6fccb 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -236,6 +236,7 @@ xtreemfs = 212; calibre-server = 213; heapster = 214; + bepasty = 215; # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! @@ -449,6 +450,7 @@ #kibana = 211; xtreemfs = 212; calibre-server = 213; + bepasty = 215; # When adding a gid, make sure it doesn't match an existing # uid. Users and groups with the same name should have equal |