feat: added stuff for server

This commit is contained in:
Nick 2025-02-05 17:58:34 -06:00
parent 008bc4c011
commit b212b05864
5 changed files with 45 additions and 1 deletions

View file

@ -173,6 +173,7 @@ in
imports = builtins.attrValues {
inherit (modules)
cli
tooling
;
};
};

View 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;
}

View file

@ -0,0 +1,16 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs.nodePackages_latest)
"@commitlint/config-conventional"
dotenv-cli
forever
nodejs
npm
typescript-language-server
;
};
}

View file

@ -45,10 +45,27 @@
"url": "https://github.com/NixOS/nixpkgs/archive/cc2f28000298e1269cea6612cd06ec9979dd5d7f.tar.gz"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1720535198,
"narHash": "sha256-zwVvxrdIzralnSbcpghA92tWu2DV2lwv89xZc8MTrbg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "205fd4226592cc83fd4c0885a3e4c9c400efabb5",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-23.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-stable": "nixpkgs-stable"
}
}
},