16 lines
595 B
Nix
16 lines
595 B
Nix
{ pkgs, ... }:
|
|
{
|
|
home = {
|
|
packages = [
|
|
(pkgs.writeShellScriptBin "esync" (builtins.readFile ./shell/esync.sh))
|
|
(pkgs.writeShellScriptBin "git-sync-all" (builtins.readFile ./shell/git-sync-all.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";
|
|
sync-and-shutdown = "sudo systemctl start nixos-upgrade.service && git-sync-all && shutdown now";
|
|
};
|
|
};
|
|
}
|