add nushell

This commit is contained in:
Daylin Morgan 2024-06-11 09:27:08 -05:00
parent 5f4ab1664e
commit 2d2bd05421
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 24 additions and 4 deletions

View file

@ -11,10 +11,11 @@
backups = enabled;
languages = [
"misc"
"python"
"nim"
"tex"
"node"
"nushell"
"python"
"tex"
"zig"
];
};

View file

@ -9,11 +9,12 @@ let
in
{
imports = [
./nim.nix
./tex.nix
./misc.nix
./nim.nix
./node.nix
./nushell.nix
./python.nix
./tex.nix
./zig.nix
];
options.oizys.languages = mkOption {

View file

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
in
{
config = mkIfIn "nushell" cfg {
environment.systemPackages = with pkgs; [
nushell
nushellPlugins.polars
];
};
}