diff --git a/home/christoph/nixinator/default.nix b/home/christoph/nixinator/default.nix index cd006c6..6502dd1 100644 --- a/home/christoph/nixinator/default.nix +++ b/home/christoph/nixinator/default.nix @@ -281,19 +281,37 @@ "*" = "ask"; "bash" = { "*" = "ask"; - "ls *" = "allow"; - "find *" = "ask"; # Don't want find -exec - "file *" = "allow"; - "wc *" = "allow"; - "grep *" = "allow"; - "rg *" = "allow"; - "test *" = "allow"; - "echo *" = "allow"; - "which *" = "allow"; - "pwd *" = "allow"; - "dirname *" = "allow"; + "awk *" = "ask"; # Can modify files "basename *" = "allow"; + "cmp *" = "allow"; + "cut *" = "allow"; + "df *" = "allow"; + "dirname *" = "allow"; + "du *" = "allow"; + "echo *" = "allow"; + "fd *" = "ask"; # Can execute commands + "file *" = "allow"; + "find *" = "ask"; # Can execute commands + "grep *" = "allow"; + "head *" = "allow"; + "ls *" = "allow"; + "nl *" = "allow"; + "od *" = "allow"; + "pwd *" = "allow"; "readlink *" = "allow"; + "rg *" = "ask"; # Can execute commands + "sed *" = "ask"; # Can modify files + "sha256sum *" = "allow"; + "sha512sum *" = "allow"; + "sort *" = "ask"; # Can modify files + "stat *" = "allow"; + "tail *" = "allow"; + "test *" = "allow"; + "tr *" = "allow"; + "uniq *" = "ask"; # Can modify files + "wc *" = "allow"; + "which *" = "allow"; + "xargs *" = "ask"; # Can modify files "cat *.env" = "deny"; "cat *.env.*" = "deny"; @@ -308,11 +326,19 @@ "nix why-depends *" = "allow"; "nix derivation show *" = "allow"; "nix store ping *" = "allow"; - "nix stire diff-closures *" = "allow"; + "nix store diff-closures *" = "allow"; - "git status *" = "allow"; - "git log *" = "allow"; + "git branch *" = "ask"; + "git check-ignore *" = "allow"; "git diff *" = "allow"; + "git log *" = "allow"; + "git ls-files *" = "allow"; + "git ls-tree *" = "allow"; + "git remote *" = "ask"; + "git rev-list *" = "allow"; + "git rev-parse *" = "allow"; + "git stash *" = "ask"; + "git status *" = "allow"; }; "external_directory" = { "/nix/store/**" = "allow";