{ config, ... }: let secrets = config.age.secrets; in { my.services = { # monitors and controls temperature thermald.enable = true; # Enable TLP power management tlp.enable = true; # enable a few services related to the gnome desktop gnome.enable = true; # we need avahi in order to use the printer/scanner avahi.enable = true; syncthing.enable = true; # for the yubikeys pcscd.enable = true; backup = { enable = true; user = "fcuny"; repository = "sftp:192.168.6.40:/"; exclude = [ "/home/fcuny/.cache" "/home/fcuny/downloads" "/home/fcuny/workspace/linux.git" "/home/fcuny/workspace/tmp" ]; timerConfig = { OnCalendar = "06:30"; }; passwordFile = secrets."restic/repo-users".path; extraOptions = [ "sftp.command='ssh fcunybackup@192.168.6.40 -i ${secrets.restic/ssh-key.path} -s sftp'" ]; paths = [ "/home/fcuny" ]; }; }; }