solis powers off at night
This commit is contained in:
parent
fbe2b133db
commit
0fbceaf082
1 changed files with 7 additions and 20 deletions
|
|
@ -33,7 +33,7 @@
|
||||||
systemd.timers."backupSyncthing" = {
|
systemd.timers."backupSyncthing" = {
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "daily";
|
OnCalendar = "weekly";
|
||||||
Persistent = true;
|
Persistent = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -48,26 +48,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.samba = {
|
services.sleep-at-night = {
|
||||||
enable = false;
|
|
||||||
securityType = "user";
|
|
||||||
openFirewall = true;
|
|
||||||
shares = {
|
|
||||||
public = {
|
|
||||||
path = "/home/horseman/mnt/sda1";
|
|
||||||
browseable = "yes";
|
|
||||||
"read only" = "yes";
|
|
||||||
"guest ok" = "yes";
|
|
||||||
"create mask" = "0644";
|
|
||||||
"directory mask" = "0755";
|
|
||||||
"force user" = "user";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.samba-wsdd = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
shutdown = {
|
||||||
|
hour = 00;
|
||||||
|
minute = 30;
|
||||||
|
};
|
||||||
|
wakeup = "08:00:00";
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.enable = true;
|
networking.firewall.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue