diff options
-rw-r--r-- | linux.nix | 26 |
1 files changed, 11 insertions, 15 deletions
@@ -3,7 +3,6 @@ let homedir = builtins.getEnv "HOME"; hostname = builtins.getEnv "HOSTNAME"; - gitCommitTemplate = ./lib/git-commit-template; gpgid = "D09299626FA78AF8"; cmdtree = pkgs.stdenv.mkDerivation { name = "cmdtree"; @@ -391,20 +390,17 @@ in aliases = { authors = "shortlog -s -n"; }; - extraConfig = '' - [push] - default = simple - - [commit] - template = ${gitCommitTemplate} - - [sendemail] - smtpuser = ben@bsima.me - smptserverport = 587 - smptserver = mail.bsima.me - chainreplyto = false - composeencoding = UTF-8 - ''; + extraConfig = { + push.default = "simple"; + commit.template = builtins.readFile ./lib/git-commit-template; + sendemail = { + smtpuser = "ben@bsima.me"; + smtpserverport = 587; + smtpserver = "mail.bsima.me"; + chainreplyto = false; + composeencoding = "UTF-8"; + }; + }; }; emacs = { |