[ MIRROR ] NixOS & Home-Manager configuration git.ngill.net/dotfiles.git
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ hostName, stateVersion }:{ pkgs, config, ...}:{ home = { inherit stateVersion; username = "git"; homeDirectory = "/home/git"; };
programs.vim = { enable = true; defaultEditor = true; };
home.sessionVariables = { # be certain of it EDITOR = pkgs.lib.mkForce "${pkgs.vim}"; VISUAL = pkgs.lib.mkForce "${pkgs.vim}"; };
programs.git = { enable = true; settings = { core.hooksPath = "/data/git/hooks"; user = { email = "git@ngill.net"; name = "ngill.net git server"; }; }; };
home.file."git-shell-commands/help" = { executable = true; text = '' #!/bin/sh echo "Welcome to git.ngill.net! :D" echo "..but there's not really anything you can do in this shell." ''; };}