From 7f4b1ae8e1bf9c15e6f26f75a2524ba539ac802f Mon Sep 17 00:00:00 2001 From: Ranomier <> Date: Mon, 13 Jan 2025 03:16:02 +0100 Subject: [PATCH] shell stuff --- modules/software/shells/fish.nix | 11 ++++++----- modules/software/shells/zsh.nix | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/modules/software/shells/fish.nix b/modules/software/shells/fish.nix index 317e540..b3bb8cd 100644 --- a/modules/software/shells/fish.nix +++ b/modules/software/shells/fish.nix @@ -1,14 +1,15 @@ -{ ... }:{ +{pkgs, ...}: { programs = { fish = { enable = true; useBabelfish = true; shellInit = '' starship init fish | source - ''; + ''; }; - nix-index.enableFishIntegration = true; - direnv.enableFishIntegration = true; - foot.enableFishIntegration = true; + nix-index.enableFishIntegration = true; + direnv.enableFishIntegration = true; + foot.enableFishIntegration = true; }; + environment.systemPackages = [pkgs.starship]; } diff --git a/modules/software/shells/zsh.nix b/modules/software/shells/zsh.nix index eb0baa8..62b4a41 100644 --- a/modules/software/shells/zsh.nix +++ b/modules/software/shells/zsh.nix @@ -1,4 +1,4 @@ -{ ... }:{ +{...}: { system.userActivationScripts.zshrc = "touch .zshrc"; programs.zsh = {