mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-13 13:22:26 -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue