nixos/system/home/scripts/default.nix

16 lines
522 B
Nix
Raw Normal View History

2024-07-30 15:06:34 +01:00
{ pkgs, ... }:
{
2024-07-30 06:34:11 +01:00
home = {
packages = [
(pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh))
2024-09-21 05:47:49 +01:00
(pkgs.writeShellScriptBin "gsync" (builtins.readFile ./shell/gsync.sh))
2024-07-30 15:06:34 +01:00
(pkgs.writeShellScriptBin "rsync-local-config" (builtins.readFile ./shell/rsync-local-config.sh))
(pkgs.writeShellScriptBin "xdg-query-program" (builtins.readFile ./shell/xdg-query-program.sh))
2024-07-30 06:34:11 +01:00
];
shellAliases = {
gsa = "git-sync-all";
2024-09-13 13:08:09 +01:00
gsad = "git-sync-all && shutdown now";
};
2024-07-30 06:34:11 +01:00
};
}