Merge branch 'test' of gitea into test

This commit is contained in:
coolneng 2019-12-25 17:47:14 +01:00
commit e490102d74
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
3 changed files with 12 additions and 8 deletions

View File

@ -86,6 +86,7 @@
nix.gc = {
automatic = true;
dates = "03:15";
options = "--delete-older-than 14d";
};
# Configure fish shell

View File

@ -7,7 +7,7 @@
radicale
];
# Enable syncthingthing
# Enable syncthing
services.syncthing = {
enable = true;
openDefaultPorts = true;
@ -17,14 +17,15 @@
devices = {
monolith = { id = "QGDGEZQ-INE7XDY-DNX2QI4-QI7ANQJ-57REEO2-FUMH545-FZS5RYU-ULF7HA2"; };
roamer = { id = "DS3PJH3-J6SNMHM-XUJTDLO-DHGJL5U-J3RUMAG-4OSJWIK-VSJSDVJ-PIHZ2QP"; };
unit = { id = "VYHHL4A-KJ6WUYQ-4SNWNA3-YRCFTHE-52ZTRLP-4LV6ZDV-4VAJLHC-RJXYYQY"; };
};
folders = {
"Documents" = { devices = [ "monolith" "roamer" ]; id = "wusdj-bfjkr"; };
"Notes" = { devices = [ "monolith" "roamer" ]; id = "2aqt7-vpprc"; };
"Music" = { devices = [ "monolith" "roamer" ]; id = "kafhz-bfmzm"; };
"Photos" = { devices = [ "monolith" "roamer" ]; id = "mjibc-ustcg"; };
"Security" = { devices = [ "monolith" "roamer" ]; id = "z4lpn-pmm3v"; };
"Projects" = { devices = [ "monolith" ]; id = "cjhmu-avy9v"; };
"Documents" = { devices = [ "monolith" "roamer" "unit" ]; id = "wusdj-bfjkr"; };
"Notes" = { devices = [ "monolith" "roamer" "unit" ]; id = "kafhz-bfmzm"; };
"Music" = { devices = [ "monolith" "roamer" "unit" ]; id = "2aqt7-vpprc"; };
"Photos" = { devices = [ "monolith" "roamer" "unit" ]; id = "mjibc-ustcg"; };
"Security" = { devices = [ "monolith" "roamer" "unit" ]; id = "z4lpn-pmm3v"; };
"Projects" = { devices = [ "monolith" "unit" ]; id = "cjhmu-avy9v"; };
Documents.type = "receiveonly";
Notes.type = "receiveonly";

View File

@ -18,8 +18,10 @@
disableRegistration = true;
repositoryRoot = "/vault/git";
dump.enable = true;
useWizard = true;
appName = "Gitea";
};
# Restart nginx after startup
systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ];
}