some refactoring and modularizing locale
This commit is contained in:
18
modules/nixos/studio/mysql-workbench/default.nix
Normal file
18
modules/nixos/studio/mysql-workbench/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.nixos.studio.mysql-workbench;
|
||||
in {
|
||||
options = {
|
||||
nixos.studio.mysql-workbench.enable = mkEnableOption "Enables MySQL Workbench";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mysql-workbench
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user