From 563c3eaa9c00cc8acc9835e3ec456793fe49e0ec Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 1 Dec 2024 12:24:46 +0100 Subject: add git --- nixos/hamac-configuration.nix | 1 + nixos/parts/basics.nix | 7 +++++++ user/git/config | 6 ++++++ 3 files changed, 14 insertions(+) create mode 100644 nixos/parts/basics.nix create mode 100644 user/git/config diff --git a/nixos/hamac-configuration.nix b/nixos/hamac-configuration.nix index 145baf8..2d03e4c 100644 --- a/nixos/hamac-configuration.nix +++ b/nixos/hamac-configuration.nix @@ -7,6 +7,7 @@ imports = [ ./hamac-hardware-configuration.nix ./sanix.nix + ./parts/basics.nix ./parts/graphical.nix ]; diff --git a/nixos/parts/basics.nix b/nixos/parts/basics.nix new file mode 100644 index 0000000..197e22e --- /dev/null +++ b/nixos/parts/basics.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + git + ]; +} diff --git a/user/git/config b/user/git/config new file mode 100644 index 0000000..59af393 --- /dev/null +++ b/user/git/config @@ -0,0 +1,6 @@ +[user] +email = martin@push-f.com +name = Martin Fischer + +[alias] +l = log --pretty='%an %ad %h %s %C(auto)%d' --date=format:'%a %d.%m.%Y %R' --topo-order \ No newline at end of file -- cgit v1.2.3