1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00
nixos/home/config/nixpkgs/home.nix~

58 lines
1.2 KiB
Nix

{ pkgs, ... }:
{
imports =
[
./polybar.nix
];
home.packages = [
pkgs.htop
pkgs.pavucontrol
];
programs.starship = {
enable = true;
enableZshIntegration = true;
settings = {
add_newline = false;
format = "$all";
username.show_always = false;
git_commit.tag_disabled = false;
hostname.ssh_only = false;
directory.truncate_to_repo = true;
};
};
services.network-manager-applet.enable = true ;
services.gnome-keyring = {
enable = true;
components = [ "pkcs11" "secrets" ];
};
programs.zsh = {
enable = true;
defaultKeymap = "emacs";
oh-my-zsh.enable = false;
# remove extra stuff on the right side of the prompt
initExtra = ''
unset RPS1
# Color man pages
export LESS_TERMCAP_mb=$'\E[01;32m'
export LESS_TERMCAP_md=$'\E[01;32m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;47;34m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;36m'
export LESS=-R
'';
};
programs.exa.enable = true;
programs.exa.enableAliases = false;
programs.home-manager = {
enable = true;
};
}