Izorkin
dfd32f11f3
nixos/gitea: update sandboxing options
2020-08-05 11:19:32 +03:00
Izorkin
6a0fd33b4c
nixos/gitea: add support socket connection
2020-08-05 11:19:32 +03:00
Izorkin
1a0e633c60
nixos/gitea: enable pid file
2020-08-05 11:19:32 +03:00
Izorkin
4e68da6337
nixos/gitea: add 'backupDir' option
2020-08-05 11:19:32 +03:00
Izorkin
f77e28d83d
nixos/gitea: enable data access only for 'gitea' group
2020-08-05 11:19:32 +03:00
Frederik Rietdijk
9875bbae75
Merge master into staging-next
2020-05-05 19:51:09 +02:00
zowoq
c59c4e3589
nixos/*: use $out instead of $bin with buildGoPackage
2020-04-28 20:30:29 +10:00
Aaron Andersen
218049c5c2
nixos/gitea: add settings option
2020-04-23 21:06:26 -04:00
Jos van Bakel
a171244455
nixos/gitea: fix typo
2020-01-12 12:51:01 +01:00
Sarah Brofeldt
218fe53e24
nixos/gitea: Add srhb as maintainer
2019-12-02 21:45:06 +01:00
Sarah Brofeldt
1573102a89
nixos/gitea: Fix startup
2019-12-02 21:45:06 +01:00
Janne Heß
e42036ee0e
nixos/gitea: Sandbox the systemd service
2019-12-01 10:18:48 +01:00
Janne Heß
d6c08776ba
treewide: Switch to system users
2019-10-12 22:25:28 +02:00
Jos van Bakel
86b83f37b8
nixos/gitea: fix dump
2019-09-21 09:28:53 +02:00
Janne Heß
1e23007dcd
nixos/gitea: Support SMTP without pw in the store
2019-07-14 22:48:10 +02:00
Janne Heß
8c3dd6f5e7
nixos/gitea: Generate a JWT secret for git LFS
2019-06-27 03:29:02 +02:00
Elis Hirwing
3576ba7c19
nixos/gitea: Add missing tmpfiles rules
2019-06-19 07:45:51 +02:00
Aaron Andersen
7145cf224c
nixos/gitea: replace deprecated usage of PermissionsStartOnly
...
see #53852
2019-06-10 20:32:35 -04:00
Aaron Andersen
9d251d8b21
nixos/gitea: define a gitea group to avoid "nogroup" ownership
2019-06-10 20:32:35 -04:00
Aaron Andersen
615f8b8982
nixos/gitea: utilize mysql|postgresql.ensureDatabases & ensureUsers to provision databases
2019-06-10 20:32:28 -04:00
Elis Hirwing
71450b1c1a
nixos/gitea: Don't include not needed database options depending on type
...
This was discovered in https://github.com/NixOS/nixpkgs/pull/60014
2019-04-25 08:30:14 +02:00
Maximilian Bosch
f90bd42c89
nixos/gitea: add git
to the service path
...
Otherwise commands like `git push` will fail if the machine doesn't have
git installed.
2019-01-14 16:04:02 +01:00
Maximilian Bosch
ad3a50e25b
nixos/gitea: add option to disable registration
...
Although this can be added to `extraOptions` I figured that it makes
sense to add an option to explicitly promote this feature in our
documentation since most of the self-hosted gitea instances won't be
intended for common use I guess.
Also added a notice that this should be added after the initial deploy
as you have to register yourself using that feature unless the install
wizard is used.
2019-01-14 16:04:02 +01:00
Aaron Andersen
3ed52c7804
nixos/gitea: add mysql socket authentication as an option
2018-11-08 17:30:58 -05:00
Aaron Andersen
0bbb6f4f2a
nixos/gitea: fix systemd after target when mysql is the database of choice
2018-11-08 17:30:36 -05:00
Tobias Happ
8f0bafcaff
nixos/gitea: fix pre start script ( #44979 )
...
The gitea path is hardcoded in hooks directory in files of paths like:
repositories/<user>/<repo>.git/hooks/update.d/gitea
2018-08-31 16:39:58 +02:00
Elis Hirwing
a098cc98d9
nixos/gitea: Symlink gitea locales to match running gitea version
...
This prevents issues when gitea adds new locales etc. And if they
change locale values in future versions. Or if you rollback to a
previous version of gitea it might be a good idea to use the previous
locale files.
2018-08-25 09:19:53 +02:00
Florian Klink
fff5923686
nixos/modules: users.(extraUsers|extraGroup->users|group)
2018-06-30 03:02:58 +02:00
Thomas Kerber
61f5b9d6c4
nixos/gitea: Respect gitea-dump enable option. ( #41437 )
2018-06-04 08:41:20 +02:00
Tobias Happ
28c20a4731
nixos/gitea: fix pre start script
...
The hooks directory contains now one level deep subdirectories which
need to be updated as well.
If you use gitea via ssh, ~/.ssh/authorized_keys also needs to be
updated because of the hardcoded path to gitea in the "command" option.
2018-05-29 19:53:12 +02:00
Elis Hirwing
ce42182d13
nixos/gitea: Add options to enable a timer with optional interval
...
This will run gitea dump and create a backup file for gitea every so
often as the interval is defined to do.
2018-05-20 10:49:24 +02:00
Elis Hirwing
e166aee826
nixos/gitea: Allow customizing derivation to use
2018-05-20 10:49:23 +02:00
Elis Hirwing
fa76c9a385
gitea: fix usage over ssh
...
Using gitea over ssh had two isses:
1. No shell was set for the user
2. Gitea tried to write logs to
/nix/store/x83q12kyd9gw1pay036dxz2dq0apf17h-gitea-1.3.2-bin/log when
serving the ssh usage.
2018-03-18 10:11:02 +01:00
Elis Hirwing
1ad75d0c50
gitea: enable and configure postgres service if selected as database
2018-03-15 18:34:54 +01:00
Samuel Leathers
66201d49bb
gitea: add nixos service module
2017-10-18 12:50:36 -04:00