flake: rework modules folder structure
This commit is contained in:
parent
5d64c56d40
commit
0952665f6b
56 changed files with 3 additions and 3 deletions
23
modules/home/shells/fish.nix
Normal file
23
modules/home/shells/fish.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.settings.shell.fish = {
|
||||
enable = lib.mkEnableOption "enable fish shell";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.shell.fish.enable {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
{
|
||||
name = "fish-you-should-use";
|
||||
src = pkgs.fishPlugins.fish-you-should-use;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue