mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
16 lines
312 B
Nix
16 lines
312 B
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.modules.user.gui.dev.pcb;
|
|
|
|
in
|
|
{ options.modules.user.gui.dev.pcb = { enable = mkEnableOption "Enable PCB development suite"; };
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
arduino-ide
|
|
kicad-small
|
|
ngspice
|
|
];
|
|
};
|
|
}
|