disable powermanagement to (maybe) prevent mainsail sleeping
This commit is contained in:
parent
fa82b10cbf
commit
543171202c
|
@ -23,6 +23,8 @@
|
||||||
services.calibre-web.enable = true;
|
services.calibre-web.enable = true;
|
||||||
services.calibre-web.listen.port = 8080;
|
services.calibre-web.listen.port = 8080;
|
||||||
|
|
||||||
|
powerManagement.enable = false;
|
||||||
|
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
users.users.usr.extraGroups = ["adbusers"];
|
users.users.usr.extraGroups = ["adbusers"];
|
||||||
|
|
||||||
|
@ -33,12 +35,13 @@
|
||||||
|
|
||||||
services.radicale = {
|
services.radicale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = ''
|
settings = {
|
||||||
[auth]
|
auth = {
|
||||||
type = htpasswd
|
type = "htpasswd";
|
||||||
htpasswd_filename = radicale-passwd
|
htpasswd_filename = "radicale-passwd";
|
||||||
htpasswd_encryption = plain
|
htpasswd_encryption = "plain";
|
||||||
'';
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.targets.sleep.enable = false;
|
systemd.targets.sleep.enable = false;
|
||||||
|
@ -82,7 +85,6 @@
|
||||||
after = [ "network.target" "ankisyncd.service" ];
|
after = [ "network.target" "ankisyncd.service" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
StartLimitInterval = 0;
|
|
||||||
StartLimitBurst = 10000;
|
StartLimitBurst = 10000;
|
||||||
RestartSec = "0s";
|
RestartSec = "0s";
|
||||||
};
|
};
|
||||||
|
@ -96,7 +98,6 @@
|
||||||
after = [ "network.target" "ankisyncd.service" ];
|
after = [ "network.target" "ankisyncd.service" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
StartLimitInterval = 0;
|
|
||||||
StartLimitBurst = 10000;
|
StartLimitBurst = 10000;
|
||||||
RestartSec = "0s";
|
RestartSec = "0s";
|
||||||
};
|
};
|
||||||
|
@ -110,7 +111,6 @@
|
||||||
after = [ "network.target" "ankisyncd.service" ];
|
after = [ "network.target" "ankisyncd.service" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
StartLimitInterval = 0;
|
|
||||||
StartLimitBurst = 10000;
|
StartLimitBurst = 10000;
|
||||||
RestartSec = "0s";
|
RestartSec = "0s";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue