programming: move from profiles to modules
This commit is contained in:
parent
7619efa202
commit
acab26156e
10 changed files with 0 additions and 11 deletions
16
modules/global/programming/haskell.nix
Normal file
16
modules/global/programming/haskell.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
environment.systemPackages = with pkgs; lib.lists.flatten [
|
||||
haskell-language-server
|
||||
ghc
|
||||
cabal-install
|
||||
ormolu
|
||||
|
||||
(with haskellPackages; [
|
||||
hoogle
|
||||
])
|
||||
|
||||
stack
|
||||
# stack2nix
|
||||
cabal2nix
|
||||
];
|
||||
}
|
7
modules/global/programming/java.nix
Normal file
7
modules/global/programming/java.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
openjdk19
|
||||
clang-tools
|
||||
gradle
|
||||
];
|
||||
}
|
6
modules/global/programming/kotlin.nix
Normal file
6
modules/global/programming/kotlin.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
environment.systemPackages = with pkgs; lib.lists.flatten [
|
||||
kotlin
|
||||
kotlin-language-server
|
||||
];
|
||||
}
|
5
modules/global/programming/lua.nix
Normal file
5
modules/global/programming/lua.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
environment.systemPackages = with pkgs; lib.lists.flatten [
|
||||
lua-language-server
|
||||
];
|
||||
}
|
6
modules/global/programming/nim.nix
Normal file
6
modules/global/programming/nim.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nim
|
||||
nimlsp
|
||||
];
|
||||
}
|
18
modules/global/programming/python.nix
Normal file
18
modules/global/programming/python.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
environment.systemPackages = with pkgs; lib.lists.flatten [
|
||||
python310
|
||||
(with python310Packages; [
|
||||
black
|
||||
isort
|
||||
jupyter
|
||||
mypy
|
||||
nose
|
||||
pip
|
||||
pyflakes
|
||||
pyls-isort
|
||||
pytest
|
||||
])
|
||||
pyright
|
||||
pipenv
|
||||
];
|
||||
}
|
5
modules/global/programming/racket.nix
Normal file
5
modules/global/programming/racket.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
racket
|
||||
];
|
||||
}
|
13
modules/global/programming/rust.nix
Normal file
13
modules/global/programming/rust.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
(fenix.complete.withComponents [
|
||||
"cargo"
|
||||
"clippy"
|
||||
"rust-src"
|
||||
"rustc"
|
||||
"rustfmt"
|
||||
])
|
||||
rust-analyzer-nightly
|
||||
gcc
|
||||
];
|
||||
}
|
6
modules/global/programming/zig.nix
Normal file
6
modules/global/programming/zig.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
zig
|
||||
zls
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue