LoutreOS: create lg devmode reset timer
This commit is contained in:
parent
968033f95d
commit
cd2c41130d
@ -331,7 +331,26 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."borgbackup-job-loutre".serviceConfig.TemporaryFileSystem = ["/mnt/borgsnap"];
|
systemd = {
|
||||||
|
timers."lg-devmode-reset" = {
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
timerConfig = {
|
||||||
|
OnBootSec = "5m";
|
||||||
|
OnUnitActiveSec = "1w";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services = {
|
||||||
|
"borgbackup-job-loutre".serviceConfig.TemporaryFileSystem = ["/mnt/borgsnap"];
|
||||||
|
"lg-devmode-reset" = {
|
||||||
|
script = ''
|
||||||
|
${pkgs.curl}/bin/curl https://developer.lge.com/secure/ResetDevModeSession.dev\?sessionToken\=9f94269da0dc14fd924b65d8dca28b076f931ad1ca04fe7a09ac78cdb0e22cb4
|
||||||
|
'';
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
dogetipbot-telegram.enable = true;
|
dogetipbot-telegram.enable = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user