nix-config/modules/scripts/git-save.nix
Oliver Davies 703bf836de
All checks were successful
/ check (push) Successful in 55s
Rename modules directory
2025-08-18 11:35:07 +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
'';
})
];
};
}