Update
This commit is contained in:
9
home/scripts/remote-rebuild/default.nix
Normal file
9
home/scripts/remote-rebuild/default.nix
Normal 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 ]; }
|
||||
Reference in New Issue
Block a user