mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 07:28:12 +09:00
feat
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
./agent.nix
|
||||
./arduino.nix
|
||||
./bun.nix
|
||||
./drawio.nix
|
||||
./java.nix
|
||||
./nix.nix
|
||||
./python.nix
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.features.dev.drawio;
|
||||
in
|
||||
{
|
||||
options.my.features.dev.drawio = {
|
||||
enable = lib.mkEnableOption "Draw.io diagram editor";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
drawio # Diagram editor
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user