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

24
flake.lock generated
View file

@ -24,11 +24,11 @@
]
},
"locked": {
"lastModified": 1736437680,
"narHash": "sha256-9Sy17XguKdEU9M5peTrkWSlI/O5IAqjHzdzxbXnc30g=",
"lastModified": 1737038063,
"narHash": "sha256-rMEuiK69MDhjz1JgbaeQ9mBDXMJ2/P8vmOYRbFndXsk=",
"owner": "nix-community",
"repo": "disko",
"rev": "4d5d07d37ff773338e40a92088f45f4f88e509c8",
"rev": "bf0abfde48f469c256f2b0f481c6281ff04a5db2",
"type": "github"
},
"original": {
@ -77,11 +77,11 @@
]
},
"locked": {
"lastModified": 1736508663,
"narHash": "sha256-ZOaGwa+WnB7Zn3YXimqjmIugAnHePdXCmNu+AHkq808=",
"lastModified": 1737188535,
"narHash": "sha256-O2ttwW1/dUc/Y+Rf48Njtr4tZpRJhy8FhafikekIjMY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2532b500c3ed2b8940e831039dcec5a5ea093afc",
"rev": "1e36429705f9af2d00a517ba46a4f21ef8a8194f",
"type": "github"
},
"original": {
@ -143,11 +143,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736344531,
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"lastModified": 1737062831,
"narHash": "sha256-Tbk1MZbtV2s5aG+iM99U8FqwxU/YNArMcWAv6clcsBc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"rev": "5df43628fdf08d642be8ba5b3625a6c70731c19c",
"type": "github"
},
"original": {
@ -188,11 +188,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1736515725,
"narHash": "sha256-4P99yL8vGehwzytkpP87eklBePt6aqeEC5JFsIzhfUs=",
"lastModified": 1737107480,
"narHash": "sha256-GXUE9+FgxoZU8v0p6ilBJ8NH7k8nKmZjp/7dmMrCv3o=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "f214c1b76c347a4e9c8fb68c73d4293a6820d125",
"rev": "4c4fb93f18b9072c6fa1986221f9a3d7bf1fe4b6",
"type": "github"
},
"original": {

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;