From 20fdb6abdd3b5f931240ec75691b1442167d1099 Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Thu, 29 May 2025 11:37:48 +0200 Subject: [PATCH] :sparkles: Added more packages - fish (enabled and set as default) - tailscale (enabled it aswell) - fastfetch - librewolf (instead of firefox) - signal - localsend - vscodium - vlc - gimp - libreoffice - prismlauncher - calibre - thunderbird - ledgerlive - nodejs - pnpm Signed-off-by: SindreKjelsrud --- hosts/wano/configuration.nix | 35 ++++++++++++++++++++++++++++++++--- hosts/wano/home.nix | 5 ++++- 2 files changed, 36 insertions(+), 4 deletions(-) diff --git a/hosts/wano/configuration.nix b/hosts/wano/configuration.nix index 2ec2156..183b4e5 100644 --- a/hosts/wano/configuration.nix +++ b/hosts/wano/configuration.nix @@ -99,12 +99,41 @@ # $ nix search wget environment.systemPackages = with pkgs; [ vim - firefox alacritty - git - kdePackages.dolphin + git + fish + tailscale + fastfetch + librewolf + signal-desktop + localsend + vscodium + vlc + gimp + libreoffice-qt6-fresh + # Only related to this laptop - above to be moved to a more common config when ive added more hosts + kdePackages.dolphin + prismlauncher + calibre + thunderbird + ledger-live-desktop + nodejs_22 + pnpm ]; + # Custom services + services.tailscale.enable = true; + + programs.bash = { + interactiveShellInit = '' + if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] + then + shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION="" + exec ${pkgs.fish}/bin/fish $LOGIN_OPTION + fi + ''; + }; + # Some programs need SUID wrappers, can be configured further or are # started in user sessions. # programs.mtr.enable = true; diff --git a/hosts/wano/home.nix b/hosts/wano/home.nix index ae9f576..1f03614 100644 --- a/hosts/wano/home.nix +++ b/hosts/wano/home.nix @@ -55,7 +55,10 @@ tabstop = 2; shiftwidth = 2; }; - }; + }; + + # Enable fish + fish.enable = true; }; # GPG setup