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