modified: hosts/blackstar/nixos/configuration.nix modified: hosts/shared/nixos/shared_config.nix modified: modules/default.nix deleted: modules/desktop/apps/art.nix deleted: modules/desktop/apps/cad.nix deleted: modules/desktop/apps/cam.nix deleted: modules/desktop/apps/chat.nix deleted: modules/desktop/apps/code.nix modified: modules/desktop/apps/godot.nix modified: modules/desktop/apps/minecraft.nix modified: modules/desktop/apps/xiv.nix new file: modules/desktop/art.nix new file: modules/desktop/cad.nix new file: modules/desktop/cam.nix new file: modules/desktop/chat.nix new file: modules/desktop/code.nix new file: modules/desktop/daw.nix new file: modules/desktop/games.nix new file: modules/system/bluetooth.nix deleted: modules/system/boot/.grub.nix.swp new file: pkgs/wallpaper-engine.nix
59 lines
No EOL
1.5 KiB
Nix
59 lines
No EOL
1.5 KiB
Nix
/* -------------------------------------------------------------------------- */
|
|
/* Programming/Development Environment config */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
{ lib, config, options, pkgs, ... }:
|
|
|
|
with lib;
|
|
let cfg = config.modules.desktop.code;
|
|
in {
|
|
options.modules.desktop.code = {
|
|
enable = mkEnableOption false;
|
|
heavyweight = mkEnableOption false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.nix-ld = {
|
|
enable = true;
|
|
libraries = with pkgs; [
|
|
stdenv.cc.cc.lib
|
|
];
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
/* ---------------------------- Language support ---------------------------- */
|
|
# Rust
|
|
rustc rustup
|
|
# Python
|
|
python3
|
|
# Lua
|
|
lua
|
|
# C/C++
|
|
gcc
|
|
libgcc
|
|
gnumake
|
|
cmake
|
|
extra-cmake-modules
|
|
# JS
|
|
nodejs_22
|
|
|
|
/* --------------------------------- Editors -------------------------------- */
|
|
# ? FHS VScode is a variant that lets you manually install extensions.
|
|
# ? Otherwise, you'd specify extensions here.
|
|
vscode.fhs
|
|
vim
|
|
|
|
jetbrains.idea-ultimate
|
|
jetbrains.clion
|
|
jetbrains.pycharm-professional
|
|
jetbrains.datagrip
|
|
jetbrains.webstorm
|
|
|
|
/* ----------------------------- Version Control ---------------------------- */
|
|
git
|
|
github-desktop
|
|
|
|
/* ----------------------------- Virtualization ----------------------------- */
|
|
distrobox
|
|
];
|
|
};
|
|
} |