mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-14 06:25:38 -05:00
Added Bun and Flake Update
This commit is contained in:
parent
59e7a61ede
commit
ec60500a8e
4 changed files with 30 additions and 13 deletions
16
modules/common/programming/bun.nix
Normal file
16
modules/common/programming/bun.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
bun = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable python3";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.bun.enable) {
|
||||
environment.systemPackages = [
|
||||
pkgs.bun
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue