diff options
author | Silas Schöffel <sils@sils.li> | 2024-06-02 14:08:50 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-06-02 14:08:50 +0200 |
commit | cde45a14f2da16f8c0e9bb3d592c62ccb5e6fdb8 (patch) | |
tree | 38f04a6f534be8a88de348274dcb74301cc84ef8 /hm | |
parent | foot: init module (diff) | |
download | nix-config-cde45a14f2da16f8c0e9bb3d592c62ccb5e6fdb8.tar.gz nix-config-cde45a14f2da16f8c0e9bb3d592c62ccb5e6fdb8.zip |
git: init module
Diffstat (limited to '')
-rw-r--r-- | hm/default.nix | 2 | ||||
-rw-r--r-- | hm/git/default.nix | 50 |
2 files changed, 1 insertions, 51 deletions
diff --git a/hm/default.nix b/hm/default.nix index 673fb9b..893d7e4 100644 --- a/hm/default.nix +++ b/hm/default.nix @@ -1,7 +1,6 @@ {nixvim, ...}: { imports = [ ../modules/hm - ./git ./gpg ./gtk ./hyfetch @@ -34,6 +33,7 @@ etesync-dav.enable = true; firefox.enable = true; foot.enable = true; + git.enable = true; jameica.enable = true; kdeconnect.enable = true; mail.enable = true; diff --git a/hm/git/default.nix b/hm/git/default.nix deleted file mode 100644 index 68c03ff..0000000 --- a/hm/git/default.nix +++ /dev/null @@ -1,50 +0,0 @@ -{pkgs, ...}: { - programs.git = { - enable = true; - package = pkgs.gitFull; - userName = "Silas Schöffel"; - userEmail = "sils@sils.li"; - delta = { - enable = true; - options = { - decorations = { - commit-decoration-style = "bold purple box ul"; - file-decoration-style = "none"; - file-style = "bold red ul"; - }; - features = "decorations"; - whitespace-error-style = "22 reverse"; - }; - }; - signing = { - key = "467B7D129EA73AC9"; - signByDefault = true; - }; - extraConfig = { - core = { - autocrlf = "input"; - }; - safe = { - directory = "/etc/nixos"; - }; - push = { - autoSetupRemote = true; - }; - init = { - defaultBranch = "main"; - }; - commit = { - verbose = true; - }; - sendemail = { - smtpserver = "server1.vhack.eu"; - smtpuser = "sils@sils.li"; - smtpencryption = "ssl"; - smtpserverport = "465"; - }; - }; - aliases = { - recommit = "commit --file=.git/COMMIT_EDITMSG --edit"; - }; - }; -} |