treewide: slim down and reorganize config
This commit is contained in:
parent
778775ceb6
commit
8a5be644b8
33 changed files with 131 additions and 755 deletions
16
home/features/devel/base.nix
Normal file
16
home/features/devel/base.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Basic development utilities for every system. Equivalent to something
|
||||
# like `build-essential` on other systems, ideally.
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
gcc
|
||||
gnumake
|
||||
unzip
|
||||
openssl
|
||||
autoconf
|
||||
pkg-config
|
||||
cmake
|
||||
inotify-tools
|
||||
];
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
{ pkgs, ... }: { home.packages = with pkgs; [ clojure clojure-lsp leiningen ]; }
|
6
home/features/devel/dbs.nix
Normal file
6
home/features/devel/dbs.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
# DB management interfaces
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ beekeeper-studio ];
|
||||
}
|
|
@ -1,44 +1 @@
|
|||
{ pkgs, ... }: {
|
||||
imports = [ ./php.nix ./clojure.nix ./langs.nix ];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
gcc
|
||||
gnumake
|
||||
unzip
|
||||
openssl
|
||||
autoconf
|
||||
pkg-config
|
||||
bun
|
||||
rustup
|
||||
cmake
|
||||
|
||||
# haskell stuff
|
||||
haskell.compiler.ghc910
|
||||
cabal-install
|
||||
stack
|
||||
|
||||
# nix stuff
|
||||
nixpkgs-fmt
|
||||
nixfmt-classic
|
||||
nix-tree
|
||||
nil
|
||||
nixd
|
||||
|
||||
# elixir stuff
|
||||
elixir
|
||||
elixir-ls
|
||||
inotify-tools
|
||||
|
||||
# python
|
||||
python3
|
||||
uv
|
||||
basedpyright
|
||||
|
||||
# misc
|
||||
flyctl
|
||||
httpie
|
||||
beekeeper-studio
|
||||
exercism
|
||||
neil
|
||||
];
|
||||
}
|
||||
{ ... }: { imports = [ ./base.nix ]; }
|
||||
|
|
6
home/features/devel/elixir.nix
Normal file
6
home/features/devel/elixir.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
# It's Elixir, a BEAM language.
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ elixir elixir-ls ];
|
||||
}
|
6
home/features/devel/haskell.nix
Normal file
6
home/features/devel/haskell.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
# The _smartest_ programming language.
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ haskell.compiler.ghc910 cabal-install stack ];
|
||||
}
|
14
home/features/devel/java.nix
Normal file
14
home/features/devel/java.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Java and it's sub-Javas (Clojure, etc)
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# java
|
||||
jdk
|
||||
|
||||
# clojure
|
||||
clojure
|
||||
clojure-lsp
|
||||
neil
|
||||
];
|
||||
}
|
6
home/features/devel/js.nix
Normal file
6
home/features/devel/js.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
# NodeJS, JavaScript, and more!
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [ bun nodejs_22 ];
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
{ pkgs, ... }: { home.packages = with pkgs; [ nodejs_22 ruby_3_3 jdk ]; }
|
14
home/features/devel/python.nix
Normal file
14
home/features/devel/python.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Everyone needs a Python setup, right?
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
python3
|
||||
# catch-all replacement for _most_ other python stuff
|
||||
uv
|
||||
# linter
|
||||
ruff
|
||||
# lsp(?)
|
||||
basedpyright
|
||||
];
|
||||
}
|
8
home/features/devel/rust.nix
Normal file
8
home/features/devel/rust.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Rust and other adjacent tools.
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# I use rustup to manage my Rust toolchains, but I may override it
|
||||
# per-project in a local flake.
|
||||
home.packages = with pkgs; [ rustup cargo-watch ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue