mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Added pcb development utilities
This commit is contained in:
parent
129d952c72
commit
aa363803de
5 changed files with 27 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ in
|
|||
home.packages = with pkgs; [
|
||||
wget curl neofetch
|
||||
unzip fping calc fd pciutils
|
||||
rsync zip lshw
|
||||
rsync zip lshw wireshark
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
5
src/user/modules/utils/modules/dev/modules/default.nix
Normal file
5
src/user/modules/utils/modules/dev/modules/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./pcb
|
||||
];
|
||||
}
|
||||
16
src/user/modules/utils/modules/dev/modules/pcb/default.nix
Normal file
16
src/user/modules/utils/modules/dev/modules/pcb/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue