1
1
Fork 0

Add the seal post script into nix file itself.

Some comments on how to use Gitea.
Switching mentions of users to alice
main
Bill Ewanick 2023-06-28 19:46:20 -04:00
parent 3db497ce1a
commit 5f1ac39a0e
3 changed files with 23 additions and 1 deletions

View File

@ -2,6 +2,14 @@ let
PROJECT_ROOT = builtins.toString ./.; PROJECT_ROOT = builtins.toString ./.;
in in
{ {
nixpkgs.overlays = [
(self: super: {
newSealPost = pkgs.writeShellScriptBin "newSealPost.sh" (builtins.readFile ./cutesealfanpage.love/newSealPost.sh);
})
];
environment.systemPackages = [ pkgs.newSealPost ];
services.caddy = { services.caddy = {
enable = true; enable = true;
virtualHosts = { virtualHosts = {

View File

@ -25,3 +25,17 @@
}; };
}; };
} }
/*
# README
## View users and use the command line
Do something like this, preferably as the gitea user
```bash
$ sudo su gitea
$ /nix/store/5xwh7m7252m9ljvr3lyilcza1q699r2c-gitea-1.17.4/bin/gitea -c /var/lib/gitea/custom/conf/app.ini admin user list
```
*/

View File

@ -52,7 +52,7 @@
auto-optimise-store = true; auto-optimise-store = true;
# Required by Cachix to be used as non-root user # Required by Cachix to be used as non-root user
trusted-users = [ "root" "bill" ]; trusted-users = [ "root" "alice" ];
}; };
}; };