Added pcb development utilities

This commit is contained in:
Bryan Ramos 2024-06-30 11:04:06 -04:00
parent 129d952c72
commit aa363803de
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
5 changed files with 27 additions and 2 deletions

View file

@ -27,7 +27,10 @@
utils = {
enable = true;
dev.enable = true;
dev = {
enable = true;
pcb.enable = true;
};
irc.enable = true;
neovim.enable = true;
vim.enable = false;

View file

@ -11,7 +11,7 @@ in
home.packages = with pkgs; [
wget curl neofetch
unzip fping calc fd pciutils
rsync zip lshw
rsync zip lshw wireshark
];
};
}

View file

@ -6,6 +6,7 @@ let
in
{ options.modules.user.utils.dev = { enable = mkEnableOption "user.utils.dev"; };
imports = [ ./modules ];
config = mkIf cfg.enable {
home.packages = with pkgs; [
nix-init

View file

@ -0,0 +1,5 @@
{
imports = [
./pcb
];
}

View file

@ -0,0 +1,16 @@
{ pkgs, lib, config, ... }:
with lib;
let
cfg = config.modules.user.utils.dev.pcb;
in
{ options.modules.user.utils.dev.pcb = { enable = mkEnableOption "Enable PCB development suite"; };
config = mkIf cfg.enable {
home.packages = with pkgs; [
arduino-ide
kicad-small
ngspice
];
};
}