mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-22 16:08:50 +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/vscode.nix
|
||||||
./programs/yt-dlp.nix
|
./programs/yt-dlp.nix
|
||||||
./programs/zsh.nix
|
./programs/zsh.nix
|
||||||
|
./programs/go.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -47,8 +48,17 @@
|
||||||
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;
|
||||||
mime.enable = true;
|
mime.enable = true;
|
||||||
|
|
|
@ -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
7
programs/go.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.go = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue