nix-config/modules2/scripts/git-save.nix
Oliver Davies 54b49c07bb
All checks were successful
/ check (push) Successful in 1m3s
Add git-save
https://github.com/krisnova/home/blob/main/bin/git-save
2025-08-18 02:37:53 +01:00

20 lines
378 B
Nix

{
flake.modules.homeManager.base =
{ pkgs, ... }:
{
home.packages = [
(pkgs.writeShellApplication {
name = "git-save";
runtimeInputs = with pkgs; [ git ];
text = ''
git status
git add .
git commit -s -m "Automated commit"
git push
'';
})
];
};
}