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