Compare commits

...

3 Commits

6 changed files with 18 additions and 27 deletions

View File

@ -19,21 +19,10 @@ in
]; ];
imports = [ imports = [
./home-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
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);
};
};
}

View File

@ -12,6 +12,6 @@ in {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
extraConfig = (builtins.readFile ../config/hypr/hyprland.conf); extraConfig = (builtins.readFile ./config/hypr/hyprland.conf);
}; };
} }