Add an 8G swapfile for headroom during nix builds (7.7G RAM, no prior swap) and bring nodejs (bundles npm) into the development profile. Also picks up latest flake.lock input updates. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C5fRUDLRzDhoKhEqa69cyR
42 lines
717 B
Nix
42 lines
717 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.profiles.development;
|
|
in
|
|
{
|
|
|
|
options.my.profiles.development = with lib; {
|
|
enable = mkEnableOption "Development Tools";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
users.users.finn.packages = with pkgs; [
|
|
google-chrome
|
|
vscode
|
|
zed-editor
|
|
neovim
|
|
# jetbrains.idea-ultimate
|
|
go
|
|
nodejs # bundles npm
|
|
(python3.withPackages (
|
|
ps: with ps; [
|
|
jupyter # notebooks
|
|
matplotlib
|
|
numpy
|
|
pandas
|
|
pillow
|
|
plotly
|
|
scikit-learn
|
|
scipy
|
|
tqdm # progressbar in pandas
|
|
wheel # python development
|
|
]
|
|
))
|
|
];
|
|
};
|
|
}
|