This commit is contained in:
Lilith 2025-10-17 12:51:21 +02:00
parent 12c038249c
commit 7fb3e81be7
No known key found for this signature in database
GPG key ID: 272C807BD91F8446
5 changed files with 33 additions and 5 deletions

View file

@ -18,6 +18,8 @@
./input.nix
./starship.nix
./fish.nix
./common.nix
./direnv.nix
# ./firefox.nix

22
home/lilith/fish.nix Normal file
View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ grc ];
programs.fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
plugins =
let
mkPlugin = plugin: {
name = plugin;
src = pkgs.fishPlugins."${plugin}".src;
};
in
map mkPlugin [
"puffer"
"grc"
"fzf-fish"
];
};
}

View file

@ -15,7 +15,7 @@
./syncthing.nix
./power.nix
./users.nix
./zsh.nix
./fish.nix
./virtualization.nix
];

8
system/core/fish.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
programs.fish = {
enable = true;
generateCompletions = true;
};
users.defaultUserShell = pkgs.fish;
}

View file

@ -1,4 +0,0 @@
{pkgs, ...}: {
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
}