introducting rive in flake, extending git

This commit is contained in:
nx2
2024-04-03 12:03:50 +02:00
parent 0e95c69d8c
commit 551b904c32
4 changed files with 279 additions and 186 deletions

View File

@@ -51,7 +51,7 @@
imv mpv mediainfo exiftool ffmpeg
pavucontrol fontpreview gtk2fontsel
lynx bat du-dust eza neofetch tldr fzf figlet delta ripgrep lolcat jq glow
lynx bat du-dust eza neofetch tldr fzf figlet ripgrep lolcat jq glow
brightnessctl wev
element sssnake pipes
@@ -64,43 +64,14 @@
python-pkgs.pipdeptree
python-pkgs.requests
]))
(writeShellScriptBin "nxrbs-nix" ''
set -e
pushd ~/.nix-dots/
git diff
'')
# 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
'';
})
# (writeShellScriptBin "nxrbs-nix" ''
# set -e
# pushd ~/.nix-dots/
# git diff
# '')
];
home.file = {
};
# Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at
# either
#
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# /etc/profiles/per-user/nx2/etc/profile.d/hm-session-vars.sh
#
xdg = {
enable = true;
configHome = /home/${user}/.config;