mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
87 lines
1.5 KiB
Nix
87 lines
1.5 KiB
Nix
# Only config stuff you cannot config with dotfiles
|
|
# Or stuff that does not interfere with the dotfiles
|
|
|
|
# Changed my mind
|
|
# Just do whats fun
|
|
|
|
{ config, pkgs, inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
# Load all the to be installed packages
|
|
# ./packages.nix
|
|
# inputs.xremap-flake.homeManagerModules.default
|
|
# inputs.stylix.homeManagerModules.stylix
|
|
];
|
|
|
|
home = {
|
|
username = "root";
|
|
sessionVariables = {
|
|
EDITOR = "nvim";
|
|
HTTP_HOME = "duckduckgo.com";
|
|
MANPAGER="nvim +Man!";
|
|
|
|
};
|
|
shellAliases = {
|
|
testting = "echo 'test'";
|
|
};
|
|
};
|
|
|
|
home.packages = with pkgs; [
|
|
acpi
|
|
zsh
|
|
zoxide
|
|
btop
|
|
yazi
|
|
unzip
|
|
feh
|
|
];
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
initContent = ''
|
|
# Load Starship prompt
|
|
eval "$(starship init zsh)"
|
|
'';
|
|
};
|
|
|
|
programs.bash = {
|
|
enable = true;
|
|
bashrcExtra = ''
|
|
# Interactive shell check
|
|
[[ $- != *i* ]] && return
|
|
|
|
# Load Starship prompt
|
|
if command -v starship >/dev/null 2>&1; then
|
|
eval "$(starship init bash)"
|
|
fi
|
|
|
|
# Add any other bash aliases or functions here
|
|
alias ll='ls -l'
|
|
alias la='ls -A'
|
|
'';
|
|
profileExtra = ''
|
|
# Source the bashrc
|
|
if [ -f ~/.bashrc ]; then
|
|
. ~/.bashrc
|
|
fi
|
|
'';
|
|
};
|
|
|
|
# starship - an customizable prompt for any shell
|
|
programs.starship = {
|
|
enable = true;
|
|
settings = {
|
|
add_newline = false;
|
|
aws.disabled = true;
|
|
gcloud.disabled = true;
|
|
line_break.disabled = true;
|
|
|
|
};
|
|
};
|
|
|
|
# Let Home Manager install and manage itself.
|
|
programs.home-manager.enable = true;
|
|
home.stateVersion = "24.11";
|
|
}
|