Compare commits
5 Commits
4f96034838
...
50066d1122
Author | SHA1 | Date | |
---|---|---|---|
50066d1122 | |||
db58f552b2 | |||
0cd3c05a25 | |||
fe85ab718a | |||
2927edcb95 |
@ -3,18 +3,20 @@
|
|||||||
{
|
{
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
devices = {
|
settings = {
|
||||||
ceasium = { id = "3JVJ2KS-C44JKLL-LFIMCVJ-VUQK2VB-WKJNOGB-4AIJYJM-MINXEKG-T5FHQQE"; };
|
devices = {
|
||||||
ev0 = { id = "XLZNAIG-Q5BJYXZ-IJWS3RD-EOETGFI-265U5MH-U4VBEXX-KC6MWPH-B22ROQT"; };
|
ceasium = { id = "3JVJ2KS-C44JKLL-LFIMCVJ-VUQK2VB-WKJNOGB-4AIJYJM-MINXEKG-T5FHQQE"; };
|
||||||
};
|
ev0 = { id = "XLZNAIG-Q5BJYXZ-IJWS3RD-EOETGFI-265U5MH-U4VBEXX-KC6MWPH-B22ROQT"; };
|
||||||
folders = {
|
};
|
||||||
mixcloud = {
|
folders = {
|
||||||
path = "/data/mixcloud";
|
mixcloud = {
|
||||||
type = "sendonly";
|
path = "/data/mixcloud";
|
||||||
devices = [
|
type = "sendonly";
|
||||||
"ceasium"
|
devices = [
|
||||||
"ev0"
|
"ceasium"
|
||||||
];
|
"ev0"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
systemd.services."chaosevents" = {
|
systemd.services."chaosevents" = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
requires = [ "network.target" ];
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
@ -41,6 +42,7 @@
|
|||||||
OnCalendar = "hourly";
|
OnCalendar = "hourly";
|
||||||
RandomizedDelaySec = "1h";
|
RandomizedDelaySec = "1h";
|
||||||
};
|
};
|
||||||
|
requires = [ "network-online.target" ];
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -12,10 +12,6 @@
|
|||||||
user = "gitea";
|
user = "gitea";
|
||||||
socket = "/run/postgresql";
|
socket = "/run/postgresql";
|
||||||
};
|
};
|
||||||
rootUrl = "https://git.clerie.de/";
|
|
||||||
domain = "git.clerie.de";
|
|
||||||
httpAddress = "127.0.0.1";
|
|
||||||
httpPort = 3000;
|
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
log = {
|
log = {
|
||||||
@ -30,6 +26,10 @@
|
|||||||
DEFAULT_PRIVATE = true;
|
DEFAULT_PRIVATE = true;
|
||||||
};
|
};
|
||||||
server = {
|
server = {
|
||||||
|
ROOT_URL = "https://git.clerie.de/";
|
||||||
|
DOMAIN = "git.clerie.de";
|
||||||
|
HTTP_ADDRESS = "127.0.0.1";
|
||||||
|
HTTP_PORT = 3000;
|
||||||
OFFLINE_MODE = true;
|
OFFLINE_MODE = true;
|
||||||
LANDING_PAGE = "explore";
|
LANDING_PAGE = "explore";
|
||||||
};
|
};
|
||||||
@ -66,7 +66,7 @@
|
|||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "gitea";
|
name = "gitea";
|
||||||
ensurePermissions."DATABASE gitea" = "ALL PRIVILEGES";
|
ensureDBOwnership = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -21,7 +21,7 @@ in
|
|||||||
description = "Automatically check and install upgrades";
|
description = "Automatically check and install upgrades";
|
||||||
};
|
};
|
||||||
startAt = mkOption {
|
startAt = mkOption {
|
||||||
type = with types; nullOr string;
|
type = with types; nullOr str;
|
||||||
default = null;
|
default = null;
|
||||||
description = "Systemd time string for starting the unit";
|
description = "Systemd time string for starting the unit";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user