This commit is contained in:
Hadi
2024-06-23 13:46:07 +02:00
parent f29e68ef63
commit 54eb13bc40
6 changed files with 37 additions and 16 deletions

View File

@@ -0,0 +1,9 @@
{ pkgs, config, ... }:
let
remote-rebuild = pkgs.writeShellScriptBin "remote-rebuild" ''
ssh jack -C "cd /home/hadi/.config/nixos && git pull && nixy-rebuild"
'';
in { home.packages = with pkgs; [ remote-rebuild ]; }