Move service logs into ~
parent
5543e1e44c
commit
e6db945310
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
# dark-mode-notify configuration
|
# dark-mode-notify configuration
|
||||||
# {{{
|
# {{{
|
||||||
launchd.agents.dark-mode-notify =
|
launchd.agents.dark-mode-notify =
|
||||||
let logPath = "/var/log/dark-mode-notify"; in
|
let logPath = "${config.xdg.stateHome}/dark-mode-notify"; in
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# {{{
|
# {{{
|
||||||
launchd.agents.tarsnap =
|
launchd.agents.tarsnap =
|
||||||
let
|
let
|
||||||
logPath = "/var/log/tarsnap";
|
logPath = "${config.xdg.stateHome}/tarsnap";
|
||||||
tarsnapBackup = pkgs.writeShellScriptBin "tarsnap-backup-helper" ''
|
tarsnapBackup = pkgs.writeShellScriptBin "tarsnap-backup-helper" ''
|
||||||
/opt/homebrew/bin/tarsnap -c \
|
/opt/homebrew/bin/tarsnap -c \
|
||||||
--configfile ${config.home.homeDirectory}/.tarsnaprc \
|
--configfile ${config.home.homeDirectory}/.tarsnaprc \
|
||||||
|
|
Loading…
Reference in New Issue