Added Bun and Flake Update

This commit is contained in:
Annika Merris 2025-01-18 09:37:19 -05:00
parent 59e7a61ede
commit ec60500a8e
4 changed files with 30 additions and 13 deletions

View 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
];
};
}

View file

@ -1,6 +1,7 @@
{ ... }:
{
imports = [
./bun.nix
./nixpkgs-fmt.nix
./openscad.nix
./platformio.nix

View file

@ -10,7 +10,7 @@
};
config = lib.mkIf (config.audio.enable) {
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;