disable powermanagement to (maybe) prevent mainsail sleeping

This commit is contained in:
randomuser 2023-12-28 14:59:51 -06:00
parent fa82b10cbf
commit 543171202c
1 changed files with 9 additions and 9 deletions

View File

@ -23,6 +23,8 @@
services.calibre-web.enable = true;
services.calibre-web.listen.port = 8080;
powerManagement.enable = false;
programs.adb.enable = true;
users.users.usr.extraGroups = ["adbusers"];
@ -33,12 +35,13 @@
services.radicale = {
enable = true;
config = ''
[auth]
type = htpasswd
htpasswd_filename = radicale-passwd
htpasswd_encryption = plain
'';
settings = {
auth = {
type = "htpasswd";
htpasswd_filename = "radicale-passwd";
htpasswd_encryption = "plain";
};
};
};
systemd.targets.sleep.enable = false;
@ -82,7 +85,6 @@
after = [ "network.target" "ankisyncd.service" ];
serviceConfig = {
Restart = "on-failure";
StartLimitInterval = 0;
StartLimitBurst = 10000;
RestartSec = "0s";
};
@ -96,7 +98,6 @@
after = [ "network.target" "ankisyncd.service" ];
serviceConfig = {
Restart = "on-failure";
StartLimitInterval = 0;
StartLimitBurst = 10000;
RestartSec = "0s";
};
@ -110,7 +111,6 @@
after = [ "network.target" "ankisyncd.service" ];
serviceConfig = {
Restart = "on-failure";
StartLimitInterval = 0;
StartLimitBurst = 10000;
RestartSec = "0s";
};