.
This commit is contained in:
parent
3aa8cff626
commit
ae76467d45
2 changed files with 28 additions and 1 deletions
|
@ -7,7 +7,7 @@ in
|
|||
options.modules.develop.dotnet = let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in {
|
||||
enable = mkEnableOption "Rust developmnt";
|
||||
enable = mkEnableOption ".NET developmnt";
|
||||
};
|
||||
|
||||
config = mkMerge [
|
||||
|
|
27
modules/develop/js.nix
Normal file
27
modules/develop/js.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{ inputs, config, options, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib.attrsets) attrValues;
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
in
|
||||
{
|
||||
options.modules.develop.js = let
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in {
|
||||
enable = mkEnableOption "JS developmnt";
|
||||
};
|
||||
|
||||
config = mkMerge [
|
||||
(mkIf config.modules.develop.js.enable {
|
||||
user.packages = attrValues {
|
||||
};
|
||||
|
||||
})
|
||||
|
||||
(mkIf config.modules.develop.xdg.enable {
|
||||
home = {
|
||||
# sessionVariables.CARGO_HOME = "$XDG_DATA_HOME/cargo";
|
||||
# sessionPath = ["$CARGO_HOME/bin"];
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue