hm-modules: the great refactoring part 1
This commit is contained in:
parent
1b2f5d6094
commit
b7ccaf8285
11 changed files with 29 additions and 39 deletions
23
homeManagerModules/shells/fish.nix
Normal file
23
homeManagerModules/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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
8
homeManagerModules/shells/zsh.nix
Normal file
8
homeManagerModules/shells/zsh.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ ... }:
|
||||
{
|
||||
#todo config
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue