20 lines
378 B
Nix
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
|
|
'';
|
|
})
|
|
];
|
|
};
|
|
}
|