added more programs

This commit is contained in:
Thilo Billerbeck 2023-05-04 01:16:25 +02:00
parent 325a2c54de
commit 863b1b9a2e
3 changed files with 19 additions and 0 deletions

View file

@ -20,6 +20,7 @@
./programs/vscode.nix ./programs/vscode.nix
./programs/yt-dlp.nix ./programs/yt-dlp.nix
./programs/zsh.nix ./programs/zsh.nix
./programs/go.nix
./packages.nix ./packages.nix
]; ];
@ -47,7 +48,16 @@
done done
''; '';
}; };
setNodeGlobalDir = {
after = [ "writeBoundary" "createXdgUserDirectories" ];
before = [ ];
data = ''
mkdir -p ${config.home.homeDirectory}/.node-global
${pkgs.nodejs}/bin/npm config set prefix ${config.home.homeDirectory}/.node-global
'';
};
}; };
sessionPath = [ "${config.home.homeDirectory}/.node-global/bin" ];
}; };
xdg = { xdg = {
enable = true; enable = true;

View file

@ -28,6 +28,8 @@ in {
nurl nurl
hcloud hcloud
tea tea
dgraph
nodePackages.nodemon
] ++ [ ] ++ [
(import (fetchTarball (import (fetchTarball
"https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default "https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default

7
programs/go.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, pkgs, lib, ... }:
{
programs.go = {
enable = true;
};
}