3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/misc
makefu 0bdc5e269b 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";
        };
      };
    };
2015-11-23 22:10:14 +01:00
..
assertions.nix Remove some obsolete references to <nixos> 2015-08-05 17:37:08 +02:00
crashdump.nix nixos/manual: Use literalExample when feasible. 2014-08-27 23:41:15 +02:00
extra-arguments.nix nixos: move left-behind allowUnfree comment 2015-09-03 01:17:10 +02:00
ids.nix services/misc/bepasty: init at 2015-10-21 2015-11-23 22:10:14 +01:00
lib.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
locate.nix nixos: Fix manpages from 8c652379df 2015-08-03 16:19:12 -07:00
meta.nix NixOS: Add meta.maintainer option to modules. 2014-08-25 01:04:39 +02:00
nixos.nix Add a way to pin a NixOS version within the module system. 2015-11-19 20:58:45 +00:00
nixos.xml Add a way to pin a NixOS version within the module system. 2015-11-19 20:58:45 +00:00
nixpkgs.nix Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
passthru.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
version.nix And next release is called Emu! 2015-09-03 11:39:56 +02:00