From b28259b353c3ee2d51a7cbdf0e90136ae846b68d Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sun, 24 Sep 2023 20:33:22 -0400 Subject: add watchfile script --- programs/zsh.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'programs/zsh.nix') diff --git a/programs/zsh.nix b/programs/zsh.nix index 8d8fc91..03a096f 100644 --- a/programs/zsh.nix +++ b/programs/zsh.nix @@ -1,11 +1,16 @@ { config, pkgs, ... }: { + home.packages = with pkgs; [ + inotify-tools + ]; + programs.zsh = { enable = true; shellAliases = { ll = "ls -l"; unixos = "sudo nixos-rebuild switch --flake /etc/nixos"; uhome = "home-manager switch --flake /etc/nixos"; + watchfile = "/etc/nixos/programs/scripts/watchfile.sh "; }; history = { size = 10000; -- cgit v1.2.1