❄️ going a little overboard with my nix config?
This commit is contained in:
22
modules/golang.nix
Normal file
22
modules/golang.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.sessionPath = [ "$HOME/.go/bin" ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
go
|
||||
gocode
|
||||
golangci-lint
|
||||
gomodifytags
|
||||
gopls
|
||||
gotests
|
||||
gore
|
||||
];
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
oh-my-zsh = { plugins = [ "golang" ]; };
|
||||
sessionVariables = { GOPATH = "$HOME/.go"; };
|
||||
};
|
||||
};
|
||||
}
|
11
modules/haskell.nix
Normal file
11
modules/haskell.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
ghc
|
||||
stack
|
||||
stylish-haskell
|
||||
haskellPackages.ghcide
|
||||
haskellPackages.hoogle
|
||||
];
|
||||
}
|
5
modules/nodejs.nix
Normal file
5
modules/nodejs.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ nodejs nodePackages.js-beautify yarn ];
|
||||
}
|
12
modules/python.nix
Normal file
12
modules/python.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
pipenv
|
||||
python3
|
||||
python38Packages.black
|
||||
python38Packages.isort
|
||||
python38Packages.pyflakes
|
||||
python38Packages.pytest
|
||||
];
|
||||
}
|
6
modules/rust.nix
Normal file
6
modules/rust.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.sessionPath = [ "$HOME/.cargo/bin" ];
|
||||
home.packages = with pkgs; [ cargo rustc rust-analyzer ];
|
||||
}
|
Reference in New Issue
Block a user