diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 25407bbcbaf75f5fdc903b41d51d1db013d2e9b5..0000000000000000000000000000000000000000 --- a/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2024 John Olheiser - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 44663dcbea73885283ee51a5f4db7584b5e65b28..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,36 +0,0 @@ -# tsnet-serve nix - -A flake, package, and module for [tsnet-serve](https://github.com/shayne/tsnet-serve). - -## Usage - -As a flake: - -```nix -tsnet-serve.url = "git+https://git.jolheiser.com/tsnet-serve-nix.git"; -# ... -imports = [inputs.tsnet-serve.nixosModules.default]; -``` - -[Module](./module/default.nix): - -```nix -{ - services.tsnet-serve.instances = { - "myapp" = { - enable = true; - backend = "http://127.0.0.1:XXXX"; - authKey = ""; # https://login.tailscale.com/admin/settings/keys - }; - "otherapp" = { - // ... - }; - }; -} -``` - -The module still has a few TODOs but should generally work. I'm already using it in a server config successfully. - -## License - -[MIT](LICENSE)