Add shutdown timer to droppie
This commit is contained in:
parent
60ca29289e
commit
b416e63d18
2 changed files with 25 additions and 23 deletions
|
@ -1,5 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
let
|
||||||
|
psCfg = config.pub-solar;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
services.openssh.knownHosts = {
|
services.openssh.knownHosts = {
|
||||||
|
|
|
@ -43,7 +43,7 @@ in
|
||||||
|
|
||||||
systemd.timers."shutdown-after-backup" = {
|
systemd.timers."shutdown-after-backup" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
serviceConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "3..9:*";
|
OnCalendar = "3..9:*";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue