introducting rive in flake, extending git
This commit is contained in:
@@ -1,9 +1,31 @@
|
||||
{ config, pkgs, lib, system, user, allowed, secrets, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
git
|
||||
delta
|
||||
|
||||
# only works on spec arch, chage url for others
|
||||
(stdenv.mkDerivation {
|
||||
name = "easycommit";
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/blackironj/easycommit/releases/download/v0.0.1/easycommit-v0.0.1-linux-amd64.tar.gz";
|
||||
sha256 = "sha256-Ip5wfVe/RzCxGGh1YFBllAn84nD7mUXbnMko+ue/C2E=";
|
||||
};
|
||||
phases = ["installPhase"];
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
tar xf $src -C $out/
|
||||
ls -la $out
|
||||
mv $out/easycommit $out/bin/
|
||||
chmod +x $out/bin/easycommit
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "nx2";
|
||||
userName = ''Lennart J. Kurzweg (Nx2)'';
|
||||
userEmail = "nx2@nx2.site";
|
||||
delta = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user