home-manager: make the hm modules match the nixos ones
This commit is contained in:
parent
4fc501b1e2
commit
32a5ebf118
16 changed files with 256 additions and 98 deletions
|
|
@ -1,12 +1,23 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
{
|
||||
name = "fish-you-should-use";
|
||||
src = pkgs.fishPlugins.fish-you-should-use;
|
||||
}
|
||||
];
|
||||
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