format nix

This commit is contained in:
ChaotiCryptidz 2021-12-29 13:17:01 +00:00
parent d857958abc
commit bcaa56ee97
4 changed files with 23 additions and 25 deletions

View file

@ -1,10 +1,7 @@
{ ... }: { { ... }: {
services.restic.backups.hetzner-vm = { services.restic.backups.hetzner-vm = {
user = "root"; user = "root";
paths = [ paths = [ "/var/lib/postgresql" "/var/lib/vault" ];
"/var/lib/postgresql"
"/var/lib/vault"
];
timerConfig = { timerConfig = {
OnBootSec = "1m"; OnBootSec = "1m";
OnCalendar = "daily"; OnCalendar = "daily";

View file

@ -3,4 +3,5 @@
services.tlp.enable = true; services.tlp.enable = true;
powerManagement.enable = true; powerManagement.enable = true;
powerManagement.powertop.enable = true; powerManagement.powertop.enable = true;
programs.light.enable = true;
} }