diff options
| author | 2025-04-16 22:25:20 -0700 | |
|---|---|---|
| committer | 2025-04-16 22:26:07 -0700 | |
| commit | 614538a720d352ba2333e0c7e6fb289d9bc49459 (patch) | |
| tree | 3f82b77a7b532b1a863dcd14cfbf77d36b89139a | |
| parent | e225234904dde6535db7f55d92e05a388786cf83 (diff) | |
| download | new-dotfiles-614538a720d352ba2333e0c7e6fb289d9bc49459.tar.gz new-dotfiles-614538a720d352ba2333e0c7e6fb289d9bc49459.zip | |
Fix git configuration
| -rw-r--r-- | oni/home/services/git.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/oni/home/services/git.scm b/oni/home/services/git.scm index faa82f6..8af29ec 100644 --- a/oni/home/services/git.scm +++ b/oni/home/services/git.scm @@ -34,6 +34,11 @@ (name (pascal-case (substring field-name (1+ (string-index field-name #\-))) #\-))) (format #f "~a=~a~%" name value))) +(define (serialize-boolean field value) + (let* ((field-name (symbol->string field)) + (name (pascal-case (substring field-name (1+ (string-index field-name #\-))) #\-))) + (format #f "~a=~a~%" name (if value "true" "false")))) + (define-configuration home-git-configuration (package (package git) |
