diff --git a/flake.nix b/flake.nix index 25e385d..bf62f77 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,7 @@ ./options.nix ./home.nix ./git.nix + ./shell.nix ]; }; }; diff --git a/home.nix b/home.nix index 6c1fb8b..b8225c0 100644 --- a/home.nix +++ b/home.nix @@ -21,9 +21,11 @@ # # Adds the 'hello' command to your environment. It prints a friendly # # "Hello, world!" when run. # pkgs.hello - uv git + gh eza + gdu + uv (writeShellScriptBin "nhmu" '' nix flake update --flake ~/.config/home-manager nix run home-manager -- switch --flake ~/.config/home-manager diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..df858c4 --- /dev/null +++ b/shell.nix @@ -0,0 +1,18 @@ +{ lib, pkgs, ... }: +{ + home.shell.enableZshIntegration = true; + programs.zsh = { + enable = true; + oh-my-zsh = { + enable = true; + theme = "risto"; + plugins = [ + "sudo" + "dotenv" + "git" + "ssh" + "ssh-agent" + ]; + }; + shellAliases.ls = "${pkgs.eza}/bin/eza -lgos type --no-time"; +}; \ No newline at end of file