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