16 lines
321 B
Nix
16 lines
321 B
Nix
{ lib, config, pkgs, ... }:
|
|
let
|
|
inherit (lib) mkIf mkOption types;
|
|
in
|
|
{
|
|
options.smayzy.fritzing.enable = mkOption {
|
|
type = types.bool;
|
|
default = false;
|
|
description = "enable fritzing";
|
|
};
|
|
|
|
config = mkIf config.smayzy.fritzing.enable {
|
|
environment.systemPackages = with pkgs; [ fritzing ];
|
|
};
|
|
}
|