nixos-config/modules/desktop/cad.nix
Gabriel Arazas d01e597918 Restructured the project setup
I've also added a little module for version control systems now that I'm finding myself often packaging software.
2020-09-06 04:50:16 +08:00

22 lines
608 B
Nix
Executable File

# Even if my designs are computer-aided, it's still horrible. :(
{ config, options, lib, pkgs, ... }:
with lib;
{
options.modules.desktop.cad = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf config.modules.desktop.cad.enable {
my.packages = with pkgs; [
freecad # FREE AS A BIRD, FREE AS A ALL-YOU-CAN-EAT BUFFER!
kicad # The CAD for ki which is a form of energy found everywhere.
leocad # A CAD for leos, a well-known brand of toys.
openscad # A programmable CAD for programmers.
];
};
}