Use additional fish config file

This commit is contained in:
RealStickman 2023-05-01 09:48:31 +02:00
parent 9a463fae56
commit eee00d113e
2 changed files with 16 additions and 25 deletions

View File

@ -20,20 +20,9 @@ in
imports = [
./home-manager/hyprland.nix
./home-manager/fish.nix
];
programs = {
fish = {
enable = true;
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
shellAliases = {
wget = "wget -c";
};
functions = {
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
};
};
};
};
# keep everything using home manager within this block
@ -62,21 +51,9 @@ in
imports = [
./home-manager/hyprland.nix
./home-manager/fish.nix
];
programs = {
fish = {
enable = true;
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
shellAliases = {
wget = "wget -c";
};
functions = {
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
};
};
};
services.mako.enable = true;
};
}

View File

@ -0,0 +1,14 @@
{ config, ... }:
{
programs.fish = {
enable = true;
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
shellAliases = {
wget = "wget -c";
};
functions = {
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
};
};
}