mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 11:03:13 -05:00
17 lines
300 B
Nix
17 lines
300 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
options = {
|
|
bun = {
|
|
enable = lib.mkEnableOption {
|
|
description = "Enable python3";
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
config = lib.mkIf (config.bun.enable) {
|
|
environment.systemPackages = [
|
|
pkgs.bun
|
|
pkgs.dart
|
|
];
|
|
};
|
|
}
|