nixos-config/modules/desktop/cad.nix
2020-12-29 22:32:59 +08:00

24 lines
601 B
Nix
Executable File

# Even if my designs are computer-aided, it's still horrible. :(
{ config, options, lib, pkgs, ... }:
with lib;
let cfg = config.modules.desktop.cad;
in {
options.modules.desktop.cad = {
enable = mkOption {
type = types.bool;
default = false;
};
};
config = mkIf cfg.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.
];
};
}