modularize

This commit is contained in:
Henri Dohmen 2025-06-30 22:39:38 +02:00
parent d3fa1821fa
commit f1a1dd5d53
27 changed files with 422 additions and 325 deletions

View file

@ -0,0 +1,35 @@
{
config,
pkgs,
lib,
...
}:
let
cfg = config.desktop.software.development;
inherit (lib) mkEnableOption mkIf;
in
{
options.desktop.software.development.enable = mkEnableOption "Dev Software";
config = mkIf cfg.enable {
documentation.dev.enable = true;
environment.systemPackages = with pkgs; [
vscode
binutils
clang
gcc
gdb
gnumake
man-pages
man-pages-posix
nixfmt-rfc-style
python313
python313Packages.mypy
rustup
emacs
jetbrains.gateway
jetbrains.rust-rover
];
};
}