mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-14 07:57:58 -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./bun.nix
|
||||
./nixpkgs-fmt.nix
|
||||
./openscad.nix
|
||||
./platformio.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue