2023-04-03 09:49:01 +02:00
|
|
|
{ pkgs, config, lib, ... }:
|
2023-03-31 20:48:53 +02:00
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.eboskma.programs.nushell;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.programs.nushell = { enable = mkEnableOption "nu shell"; };
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.nushell = {
|
|
|
|
enable = true;
|
|
|
|
configFile.source = ./config.nu;
|
|
|
|
envFile.source = ./env.nu;
|
|
|
|
};
|
2023-04-03 14:34:21 +02:00
|
|
|
|
|
|
|
home.packages = [ pkgs.carapace ];
|
2023-03-31 20:48:53 +02:00
|
|
|
};
|
|
|
|
}
|