mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
add nushell
This commit is contained in:
parent
5f4ab1664e
commit
2d2bd05421
3 changed files with 24 additions and 4 deletions
|
@ -11,10 +11,11 @@
|
|||
backups = enabled;
|
||||
languages = [
|
||||
"misc"
|
||||
"python"
|
||||
"nim"
|
||||
"tex"
|
||||
"node"
|
||||
"nushell"
|
||||
"python"
|
||||
"tex"
|
||||
"zig"
|
||||
];
|
||||
};
|
||||
|
|
|
@ -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 {
|
||||
|
|
18
modules/languages/nushell.nix
Normal file
18
modules/languages/nushell.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue