GitHub - nathan7/nixpaste: Pastebin powered by Nix · GitHub
Skip to content

nathan7/nixpaste

 
 

Folders and files

Repository files navigation

nixpaste

Online pastebin here.

Pastebin powered by Python and deployed by Nix:

$ cd /home/nixpaste
$ git clone https://github.com/lethalman/nixpaste.git
$ nix-build
$ result/bin/nixpaste

Deployment on NixOS:

{
  imports = [
    /home/nixpaste/nixpaste/nixos-module.nix
  ];
  
  services.nixpaste = {
    enable = true;
    config = {
      storageDir = "/home/nixpaste/storage";
      url = "http://nixpaste.lbr.uno";
    };
  };
}

For development:

$ nix-shell dev.nix

About

Pastebin powered by Nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Python 89.7%
  • Smarty 4.5%
  • CSS 3.0%
  • Nix 1.6%
  • JavaScript 1.2%