summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2024-12-01 12:24:46 +0100
committerMartin Fischer <martin@push-f.com>2024-12-11 08:37:52 +0100
commit563c3eaa9c00cc8acc9835e3ec456793fe49e0ec (patch)
tree8cf7abf19dd41a7ca909860254269ccbe853f304
parentc363b1a07dde605947c556ead7955c8f3c532d19 (diff)
add git
-rw-r--r--nixos/hamac-configuration.nix1
-rw-r--r--nixos/parts/basics.nix7
-rw-r--r--user/git/config6
3 files changed, 14 insertions, 0 deletions
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