diff --git a/home-manager/zsh/default.nix b/home-manager/zsh/default.nix index 82a9428..6c38bc4 100644 --- a/home-manager/zsh/default.nix +++ b/home-manager/zsh/default.nix @@ -3,6 +3,7 @@ { imports = [ ./antidote.nix + ./starship.nix ./zsh.nix ]; } diff --git a/home-manager/zsh/starship.nix b/home-manager/zsh/starship.nix new file mode 100644 index 0000000..20e9385 --- /dev/null +++ b/home-manager/zsh/starship.nix @@ -0,0 +1,8 @@ +{ pkgs, inputs, ... }: + +{ + programs.starship = { + enable = true; + enableZshIntegration = true; + }; +} diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 8c16e7e..fe50a06 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -100,11 +100,14 @@ #media-session.enable = true; }; + programs.zsh.enable = true; + # Define a user account. Don't forget to set a password with 'passwd'. users.users.noahk = { isNormalUser = true; description = "Noah Knegt"; extraGroups = [ "networkmanager" "wheel" ]; + shell = pkgs.zsh; }; # Install firefox.