fish
This commit is contained in:
parent
12c038249c
commit
7fb3e81be7
5 changed files with 33 additions and 5 deletions
|
|
@ -18,6 +18,8 @@
|
||||||
./input.nix
|
./input.nix
|
||||||
./starship.nix
|
./starship.nix
|
||||||
|
|
||||||
|
./fish.nix
|
||||||
|
|
||||||
./common.nix
|
./common.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
# ./firefox.nix
|
# ./firefox.nix
|
||||||
|
|
|
||||||
22
home/lilith/fish.nix
Normal file
22
home/lilith/fish.nix
Normal 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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./power.nix
|
./power.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
./zsh.nix
|
./fish.nix
|
||||||
|
|
||||||
./virtualization.nix
|
./virtualization.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
8
system/core/fish.nix
Normal file
8
system/core/fish.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.fish = {
|
||||||
|
enable = true;
|
||||||
|
generateCompletions = true;
|
||||||
|
};
|
||||||
|
users.defaultUserShell = pkgs.fish;
|
||||||
|
}
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
programs.zsh.enable = true;
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue