Move service logs into ~
parent
5543e1e44c
commit
e6db945310
|
@ -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 = {
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue