mv cad software to modules
All checks were successful
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

View File

@ -20,10 +20,8 @@
home-manager home-manager
tor tor
tshark tshark
freecad-wayland
aegisub aegisub
mpv mpv
fritzing
]; ];
} }

View File

@ -0,0 +1,7 @@
{ lib, config, pkgs, ... }:
{
imports = [
./fritzing.nix
./freecad.nix
];
}

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 ];
};
}

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 ];
};
}

View File

@ -20,6 +20,7 @@
./flatpak ./flatpak
./ide ./ide
./ebook ./ebook
./cad
]; ];
# Timzone and locales (same for all machines so I put it here) # Timzone and locales (same for all machines so I put it here)

View File

@ -41,6 +41,8 @@ in
}; };
arduino.enable = true; arduino.enable = true;
calibre.enable = true; calibre.enable = true;
freecad.enable = true;
fritzing.enable = true;
}; };
}; };
} }

View File

@ -39,6 +39,8 @@ in
}; };
arduino.enable = true; arduino.enable = true;
calibre.enable = true; calibre.enable = true;
freecad.enable = true;
fritzing.enable = true;
}; };
services.logind.lidSwitch = "ignore"; services.logind.lidSwitch = "ignore";
}; };