Seven Of Aces
168f87a62a
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
29 lines
No EOL
893 B
Nix
29 lines
No EOL
893 B
Nix
/* -------------------------------------------------------------------------- */
|
|
/* Computer-Aided Design config */
|
|
/* -------------------------------------------------------------------------- */
|
|
|
|
{ lib, config, options, pkgs, ... }:
|
|
|
|
with lib;
|
|
let cfg = config.modules.desktop.cad;
|
|
in {
|
|
options.modules.desktop.cad = {
|
|
enable = mkEnableOption false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [
|
|
/* -------------------------------- Polygonal ------------------------------- */
|
|
(blender.override {
|
|
# Allows GPU support for Cycles
|
|
cudaSupport = true;
|
|
})
|
|
|
|
/* ------------------------------- Parametric ------------------------------- */
|
|
openscad
|
|
freecad
|
|
|
|
/* ---------------------------------- Voxel --------------------------------- */
|
|
];
|
|
};
|
|
} |