Move service logs into ~

work
mat ess 2022-11-08 19:11:02 -05:00
parent 5543e1e44c
commit e6db945310
2 changed files with 3 additions and 3 deletions

View File

@ -1,8 +1,8 @@
{ pkgs, ... }: {
{ config, pkgs, ... }: {
# dark-mode-notify configuration
# {{{
launchd.agents.dark-mode-notify =
let logPath = "/var/log/dark-mode-notify"; in
let logPath = "${config.xdg.stateHome}/dark-mode-notify"; in
{
enable = true;
config = {

View File

@ -3,7 +3,7 @@
# {{{
launchd.agents.tarsnap =
let
logPath = "/var/log/tarsnap";
logPath = "${config.xdg.stateHome}/tarsnap";
tarsnapBackup = pkgs.writeShellScriptBin "tarsnap-backup-helper" ''
/opt/homebrew/bin/tarsnap -c \
--configfile ${config.home.homeDirectory}/.tarsnaprc \