mv cad software to modules
nix flake show / show-flake (push) Successful in 26s

This commit is contained in:
smayzy
2025-07-21 15:11:55 +02:00
parent c44c480e61
commit 7868336d5b
7 changed files with 42 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
{ lib, config, pkgs, ... }:
{
imports = [
./fritzing.nix
./freecad.nix
];
}
+15
View File
@@ -0,0 +1,15 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.freecad.enable = mkOption {
type = types.bool;
default = false;
description = "enable freecad";
};
config = mkIf config.smayzy.freecad.enable {
environment.systemPackages = with pkgs; [ freecad-wayland ];
};
}
+15
View File
@@ -0,0 +1,15 @@
{ 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 ];
};
}