diff --git a/yodaTab/home-manager.nix b/yodaTab/home-manager.nix index b83645c..468d5f3 100644 --- a/yodaTab/home-manager.nix +++ b/yodaTab/home-manager.nix @@ -34,6 +34,7 @@ in # defaultCacheTtl = 1800; #}; +# TODO: See history.path below. # xdg = { # enable = true; # #dataHome = "${config.xdg.home.homeDirectory}/.local/share"; @@ -46,9 +47,20 @@ in #update = "sudo nixos-rebuild switch"; }; history.size = 1000; - #history.path = "${config.xdg.dataHome}/.histfile"; - #history.ignoreDups = true; + history.ignoreDups = true; #history.ignoreAllDups = true; + + # TODO: + # Currently, `config` is my NixOS config. However, I want to access Home Manager's `config`. + # I could change home-manager.users.yoda to be a function and take config as an argument there. + #history.path = "${config.xdg.dataHome}/.histfile"; + + oh-my-zsh = { + enable = true; + plugins = [ "git" "sudo" ]; + #theme = "robbyrussell"; + theme = "agnoster"; + }; }; }; }