diff options
Diffstat (limited to 'tw/system/vin.scm')
-rw-r--r-- | tw/system/vin.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tw/system/vin.scm b/tw/system/vin.scm index 9d64e157..651fe528 100644 --- a/tw/system/vin.scm +++ b/tw/system/vin.scm @@ -142,7 +142,14 @@ (list #$(file-append hledger-dashboard "/bin/hledger-dashboard") ;; This is where Syncthing puts the ledger file. "-f" "/home/timo/sync/ledger/ledger.journal") - #:user "timo" #:group "users")) + #:user "timo" #:group "users" + #:environment-variables + ;; Use an appropriate locale so that hledger-dashboard + ;; can read the UTF-8 ledger file. + (cons* (string-append + "LC_ALL=" #$(locale-definition-name + (car locale-definitions))) + (default-environment-variables)))) (stop #~(make-kill-destructor))))) (service unattended-upgrade-service-type |