mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: cleaned up nixos and home dirs
This commit is contained in:
parent
824a91d405
commit
e596e1c1b3
582 changed files with 2 additions and 22 deletions
10
modules/home/cli/development/tooling/default.nix
Executable file
10
modules/home/cli/development/tooling/default.nix
Executable file
|
@ -0,0 +1,10 @@
|
|||
let
|
||||
content = builtins.readDir ./.;
|
||||
|
||||
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
|
||||
|
||||
importList = map (name: ./. + "/${name}") dirContent;
|
||||
in
|
||||
{
|
||||
imports = importList;
|
||||
}
|
16
modules/home/cli/development/tooling/elm/default.nix
Executable file
16
modules/home/cli/development/tooling/elm/default.nix
Executable file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs.elmPackages)
|
||||
elm
|
||||
elm-format
|
||||
elm-land
|
||||
elm-language-server
|
||||
elm-review
|
||||
elm-test
|
||||
;
|
||||
};
|
||||
}
|
11
modules/home/cli/development/tooling/javascript/default.nix
Executable file
11
modules/home/cli/development/tooling/javascript/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs.nodePackages)
|
||||
nodejs
|
||||
;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue