Former-commit-id: 54eb13bc40
This commit is contained in:
Hadi
2024-06-23 13:46:07 +02:00
parent 7aa0413931
commit 26f6c935af
6 changed files with 37 additions and 16 deletions
+9
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 ]; }