Fix
This commit is contained in:
@@ -23,9 +23,14 @@ let
|
||||
sudo /run/current-system/bin/switch-to-configuration boot
|
||||
'';
|
||||
|
||||
nixy-push = pkgs.writeShellScriptBin "nixy-push" ''
|
||||
cd ~/.config/nixos && git add . && git commit -m ''${1:-Update} && git push
|
||||
heaven-push = pkgs.writeShellScriptBin "heaven-push" ''
|
||||
cd ~/dev/heaven && git add . && git commit -m ''${1:-Update} && git push
|
||||
'';
|
||||
|
||||
remote-rebuild = pkgs.writeShellScriptBin "remote-rebuild" ''
|
||||
ssh -t heaven "cd ~/.config/heaven && git pull && heaven-rebuild"
|
||||
'';
|
||||
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
nixy-rebuild
|
||||
@@ -33,6 +38,8 @@ in {
|
||||
nixy-update
|
||||
nixy-gc
|
||||
nixy-cb
|
||||
nixy-push
|
||||
|
||||
heaven-push
|
||||
remote-rebuild
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user