Use additional fish config file
This commit is contained in:
parent
c3c9e40f31
commit
67cd054cf2
@ -20,20 +20,9 @@ in
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./home-manager/hyprland.nix
|
./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
|
# keep everything using home manager within this block
|
||||||
@ -62,21 +51,9 @@ in
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./home-manager/hyprland.nix
|
./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;
|
services.mako.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
14
home-manager/fish.nix
Normal file
14
home-manager/fish.nix
Normal 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);
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user