nushell as default

This commit is contained in:
Nathan Braswell
2026-07-08 00:05:10 -04:00
parent ddf6e9d16a
commit 72d7379ec5
3 changed files with 90 additions and 61 deletions
+27 -14
View File
@@ -11,7 +11,6 @@
home.username = username;
home.homeDirectory = homeDirectory;
gtk.gtk4.theme = null;
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
fira-code jetbrains-mono iosevka monoid recursive inter
@@ -97,11 +96,11 @@
programs.niri.settings = {
prefer-no-csd = true;
# TV at 1080 instead of 4k
#outputs."DP-4".mode = {
# width = 1920;
# height = 1080;
# refresh = 60.000;
#};
# outputs."DP-4".mode = {
# width = 1920;
# height = 1080;
# refresh = 60.000;
# };
## LG Ultrawide
#outputs."DP-4".mode = {
# width = 1920;
@@ -376,7 +375,8 @@
};
programs.starship = {
enable = true;
enableBashIntegration = true;
enableNushellIntegration = true;
# enableBashIntegration = true;
settings = {
add_newline = false;
format = lib.concatStrings [
@@ -398,16 +398,29 @@
};
};
};
programs.bash = {
# programs.bash = {
# enable = true;
# sessionVariables = {
# EDITOR = "hx";
# };
# profileExtra = ''
# if [ -e /home/nathan/.nix-profile/etc/profile.d/nix.sh ]; then . /home/nathan/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
# . "$HOME/.cargo/env"
# export PATH="/run/system-manager/sw/bin/:/home/nbraswell6/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH"
# '';
# shellAliases = {
# ng ="nmcli c up NETGEAR97";
# ng24="nmcli c up NETGEAR97_24_2Ghz";
# ng58="nmcli c up NETGEAR97_28_5Ghz";
# ng5c="nmcli c up NETGEAR97_2C_5Ghz";
# };
# };
programs.nushell = {
enable = true;
sessionVariables = {
settings.show_banner = false;
environmentVariables = {
EDITOR = "hx";
};
profileExtra = ''
if [ -e /home/nathan/.nix-profile/etc/profile.d/nix.sh ]; then . /home/nathan/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
. "$HOME/.cargo/env"
export PATH="/run/system-manager/sw/bin/:/home/nbraswell6/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$PATH"
'';
shellAliases = {
ng ="nmcli c up NETGEAR97";
ng24="nmcli c up NETGEAR97_24_2Ghz";