nixos-config/modules/desktop/cad.nix

25 lines
612 B
Nix
Raw Normal View History

2020-08-30 21:58:22 +00:00
# Even if my designs are computer-aided, it's still horrible. :(
{ config, options, lib, pkgs, ... }:
2020-11-05 06:39:02 +00:00
with lib;
let
cfg = config.modules.desktop.cad;
in {
2020-08-30 21:58:22 +00:00
options.modules.desktop.cad = {
enable = mkOption {
type = types.bool;
default = false;
};
};
2020-11-05 06:39:02 +00:00
config = mkIf cfg.enable {
my.packages = with pkgs; [
2020-10-25 15:49:14 +00:00
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.
2020-08-30 21:58:22 +00:00
];
};
}