nixos/home/scripts/default.nix
Evie Litherland-Smith 769a16ef42 Add script to sync emacs config
Uses same basic logic as git-sync-all but only pulling with --ff-only
2024-02-15 08:54:18 +00:00

15 lines
526 B
Nix

{pkgs, ...}: {
home.packages = [
(pkgs.writeShellScriptBin "nixos-upgrade"
(builtins.readFile ./nixos-upgrade.sh))
(pkgs.writeShellScriptBin "git-sync-all"
(builtins.readFile ./git-sync-all.sh))
(pkgs.writeShellScriptBin "emacs-sync-config"
(builtins.readFile ./emacs-sync-config.sh))
(pkgs.writeShellScriptBin "rsync-local-config"
(builtins.readFile ./rsync-local-config.sh))
(pkgs.writeShellScriptBin "xdg-query-program"
(builtins.readFile ./xdg-query-program.sh))
];
}