summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common.nix57
-rw-r--r--hosts/niuwux/default.nix2
2 files changed, 5 insertions, 54 deletions
diff --git a/hosts/common.nix b/hosts/common.nix
index 016bfc9..884e0f5 100644
--- a/hosts/common.nix
+++ b/hosts/common.nix
@@ -150,13 +150,12 @@
# };
fonts.fontDir.enable = true;
- fonts.packages = [
+ fonts.packages = with pkgs; [
inputs.self.packages.${pkgs.system}.iosevka-input
- pkgs.nerd-fonts.symbols-only
- pkgs.noto-fonts
- pkgs.noto-fonts-cjk-sans-static
+ nerd-fonts.symbols-only
+ noto-fonts
+ noto-fonts-cjk-sans-static
# nerd-fonts.jetbrains-mono
- # maple-mono.NF
];
fonts.fontconfig.defaultFonts.monospace = [
@@ -165,54 +164,6 @@
"Symbols Nerd Font"
];
- programs.bash = {
- enable = true;
- interactiveShellInit = ''
- # --- History Configuration ---
- # HISTSIZE: Number of lines to keep in memory
- # HISTFILESIZE: Number of lines to keep in the file
- export HISTSIZE=5000
- export HISTFILESIZE=5000
- export HISTFILE="$HOME/.bash_history"
-
- # Append to history file rather than overwriting
- shopt -s histappend
-
- # Ignore commands starting with space
- export HISTCONTROL=ignorespace:erasedups
-
- # --- Completion Configuration ---
- # Bash completion is usually handled by the 'bash-completion' package
- # Ensure it is enabled in your nixos config: programs.bash.completion.enable = true;
- bind "set completion-ignore-case on"
- bind "set show-all-if-ambiguous on"
-
- # Correct way to enable menu-complete:
- # bind '"\t": menu-complete'
- bind '"\e[Z": menu-complete-backward'
-
- bind "set show-all-if-ambiguous on"
- '';
- promptInit = ''
- if [ "$TERM" != "dumb" ] || [ -n "$INSIDE_EMACS" ]; then
- # Removed the '1;' prefix to disable bold
- PROMPT_COLOR="31m"
- ((UID)) && PROMPT_COLOR="32m"
-
- # Removed \n (newline) and [ ] brackets
- if [ -n "$INSIDE_EMACS" ]; then
- PS1="\[\033[$PROMPT_COLOR\]\u@\h:\w\\$\[\033[0m\] "
- else
- # PS1="\[\033[$PROMPT_COLOR\]\[\e]0;\u@\h: \w\a\]\u@\h:\w\\$\[\033[0m\] "
- PS1="\[\e[38;5;75m\]\u@\h \[\e[38;5;113m\]\w \[\e[38;5;189m\]\$ \[\e[0m\]"
- fi
-
- if test "$TERM" = "xterm"; then
- PS1="\[\033]2;\h:\u:\w\007\]$PS1"
- fi
- fi
- '';
- };
programs.nano.enable = false;
programs.gnupg.agent = {
enable = true;
diff --git a/hosts/niuwux/default.nix b/hosts/niuwux/default.nix
index aa97b0d..f2d16ca 100644
--- a/hosts/niuwux/default.nix
+++ b/hosts/niuwux/default.nix
@@ -30,7 +30,7 @@
beeMods = {
windowManagers = {
- mango.enable = true;
+ mango.enable = false;
niri.enable = true;
};
};