This commit is contained in:
Hadi
2024-06-07 21:37:48 +02:00
parent 17f93ea60b
commit 7bb06e521f
6 changed files with 43 additions and 5 deletions

View File

@@ -43,6 +43,10 @@ let
sudo /run/current-system/bin/switch-to-configuration boot
'';
remote-rebuild = pkgs.writeShellScriptBin "remote-rebuild" ''
ssh heaven "cd ~/.config/nixos && git pull && heaven-rebuild"
'';
in {
home.packages = with pkgs; [
nixy-rebuild
@@ -55,5 +59,6 @@ in {
heaven-update
heaven-gc
heaven-cb
remote-rebuild
];
}