gitlab: added useful commands
This commit is contained in:
parent
894837494c
commit
60d3025d88
1 changed files with 5 additions and 0 deletions
|
@ -57,6 +57,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
# delete all data
|
||||||
|
# rm -rf /run/gitlab && rm -rf /var/gitlab && rm -rf /var/lib/postgresql && rm -rf /run/gitlab && rm -rf /var/lib/redis-gitlab
|
||||||
|
# find all data
|
||||||
|
# grep -r --exclude-dir={docker,containers,log,sys,nix,proc} gitlab /
|
||||||
|
|
||||||
age.secrets.gitlab_pw = {
|
age.secrets.gitlab_pw = {
|
||||||
file = ../secrets/gitlab/pw.age;
|
file = ../secrets/gitlab/pw.age;
|
||||||
owner = cfg.user;
|
owner = cfg.user;
|
||||||
|
|
Loading…
Reference in a new issue