mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-12-22 20:13:04 +01:00
added more programs
This commit is contained in:
parent
325a2c54de
commit
863b1b9a2e
3 changed files with 19 additions and 0 deletions
10
home.nix
10
home.nix
|
@ -20,6 +20,7 @@
|
|||
./programs/vscode.nix
|
||||
./programs/yt-dlp.nix
|
||||
./programs/zsh.nix
|
||||
./programs/go.nix
|
||||
./packages.nix
|
||||
];
|
||||
|
||||
|
@ -47,7 +48,16 @@
|
|||
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 = {
|
||||
enable = true;
|
||||
|
|
|
@ -28,6 +28,8 @@ in {
|
|||
nurl
|
||||
hcloud
|
||||
tea
|
||||
dgraph
|
||||
nodePackages.nodemon
|
||||
] ++ [
|
||||
(import (fetchTarball
|
||||
"https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default
|
||||
|
|
7
programs/go.nix
Normal file
7
programs/go.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.go = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue