nixos/system/home/scripts/default.nix

16 lines
522 B
Nix

{ pkgs, ... }:
{
home = {
packages = [
(pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh))
(pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh))
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
];
shellAliases = {
gsa = "git-sync-all";
gsad = "git-sync-all && shutdown now";
};
};
}