profiles/development: init from legacy

This commit is contained in:
Felix Buehler 2023-04-02 16:34:43 +02:00
parent 09f70c8537
commit ae77e8c649
5 changed files with 47 additions and 43 deletions

View file

@ -0,0 +1,45 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.development;
in
{
options.my.profiles.development = with lib; {
enable = mkEnableOption "development profile";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
# tools
cloc
direnv
entr
ripgrep
# general
clang
cmake
gnumake
meson
ninja
valgrind
# websites
hugo
# scripts
(python3.withPackages (ps: with ps; [
jupyter # notebooks
matplotlib
numpy
pandas
pillow
plotly
scikitlearn
scipy
tqdm # progressbar in pandas
wheel # python development
]))
# linter
shellcheck
# setup
woeusb-ng
];
};
}