trying to get main config to run
This commit is contained in:
parent
208e4947a5
commit
55f7c8296f
7 changed files with 117 additions and 27 deletions
17
modules/nixos/apps/cli-apps/fish/default.nix
Normal file
17
modules/nixos/apps/cli-apps/fish/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
with lib;
|
||||
with lib.wyrdgard; let
|
||||
cfg = config.wyrdgard.apps.cli-apps.fish;
|
||||
in
|
||||
{
|
||||
options.wyrdgard.apps.cli-apps.fish = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable the fish shell";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
fish
|
||||
fishPlugins.tide
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue