You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
2.2 KiB
115 lines
2.2 KiB
{
|
|
config,
|
|
pkgs,
|
|
nix-colors,
|
|
username,
|
|
...
|
|
}:
|
|
|
|
{
|
|
imports = [
|
|
nix-colors.homeManagerModules.default
|
|
./modules/dunst.nix
|
|
./modules/waybar.nix
|
|
./modules/ranger.nix
|
|
./hyperland
|
|
];
|
|
colorScheme = nix-colors.colorSchemes.gruvbox-material-dark-hard;
|
|
|
|
# TODO please change the username & home directory to your own
|
|
home.username = "${username}";
|
|
home.homeDirectory = "/home/${username}";
|
|
|
|
# Packages that should be installed to the user profile.
|
|
home.packages = with pkgs; [
|
|
kitty
|
|
eza
|
|
git
|
|
git-lfs
|
|
obsidian
|
|
jq
|
|
direnv
|
|
|
|
okular
|
|
|
|
zip
|
|
ant
|
|
tmux
|
|
|
|
nixd # Nix language server for vscode
|
|
nixfmt-rfc-style
|
|
|
|
skypeforlinux
|
|
signal-desktop
|
|
|
|
teams-for-linux
|
|
slack
|
|
jetbrains-toolbox
|
|
nextcloud-client
|
|
|
|
presenterm
|
|
font-awesome
|
|
nerd-fonts.jetbrains-mono
|
|
nerd-fonts.caskaydia-cove
|
|
nerd-fonts.fira-code
|
|
|
|
];
|
|
|
|
programs.ssh = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
Host *
|
|
IdentityAgent "~/.1password/agent.sock"
|
|
'';
|
|
};
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
lfs.enable = true;
|
|
};
|
|
|
|
programs.bash = {
|
|
enable = true;
|
|
historyIgnore = [
|
|
"l"
|
|
"ls"
|
|
"ll"
|
|
"cd"
|
|
"exit"
|
|
];
|
|
historyControl = [ "erasedups" ];
|
|
shellAliases = {
|
|
grep = "grep --color=auto";
|
|
".." = "cd ..";
|
|
"cdm" = "cd ~/mibex-plugins/monorepo";
|
|
};
|
|
initExtra = ''
|
|
# Custom colored bash prompt
|
|
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
|
'';
|
|
profileExtra = ''
|
|
# Include user's private bin if present
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
PATH="$HOME/.local/bin:$PATH"
|
|
fi
|
|
'';
|
|
};
|
|
|
|
programs.starship = {
|
|
enable = true;
|
|
enableBashIntegration = true;
|
|
};
|
|
|
|
# This value determines the home Manager release that your
|
|
# configuration is compatible with. This helps avoid breakage
|
|
# when a new home Manager release introduces backwards
|
|
# incompatible changes.
|
|
#
|
|
# You can update home Manager without changing this value. See
|
|
# the home Manager release notes for a list of state version
|
|
# changes in each release.
|
|
home.stateVersion = "23.11";
|
|
|
|
# Let home Manager install and manage itself.
|
|
# programs.home-manager.enable = true;
|
|
}
|
|
|