modularize
This commit is contained in:
parent
d3fa1821fa
commit
f1a1dd5d53
27 changed files with 422 additions and 325 deletions
35
mod/desktop/software/development.nix
Normal file
35
mod/desktop/software/development.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue