enable audio & bt

This commit is contained in:
Tao Tien 2025-05-22 17:37:44 -07:00
parent 40fe8f62bc
commit 44bc444b28
2 changed files with 50 additions and 21 deletions

View file

@ -132,6 +132,9 @@
nixos-hardware.nixosModules.raspberry-pi-4 nixos-hardware.nixosModules.raspberry-pi-4
./systems/BASED.nix ./systems/BASED.nix
./systems/NObangers.nix ./systems/NObangers.nix
nixos-cosmic.nixosModules.default
./extras/cosmic.nix
./extras/uwuraid.nix
]; ];
}; };
NOserver-minecraft = nixpkgs.lib.nixosSystem { NOserver-minecraft = nixpkgs.lib.nixosSystem {

View file

@ -1,29 +1,55 @@
{ {
config, config,
pkgs, pkgs,
lib, lib,
... ...
}: { }: {
environment.systemPackages = with pkgs; []; environment.systemPackages = with pkgs; [
programs.partition-manager.enable = false; raspberrypi-eeprom
];
programs.partition-manager.enable = false;
services.printing.enable = false; services.printing.enable = false;
i18n.inputMethod = {}; i18n.inputMethod = {};
services.xserver.enable = false; services.xserver.enable = false;
services.desktopManager.plasma6.enable = false; services.desktopManager.plasma6.enable = false;
boot.loader.systemd-boot.enable = false; hardware.raspberry-pi."4" = {
boot.loader.efi.canTouchEfiVariables = false; bluetooth.enable = true;
audio.enable = true;
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = ["noatime"];
}; };
};
nixpkgs.hostPlatform = "aarch64-linux"; boot.loader.systemd-boot.enable = false;
system.stateVersion = "23.11"; boot.loader.efi.canTouchEfiVariables = false;
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = ["noatime"];
};
};
nix.buildMachines = [
{
hostName = "nolaptop";
systems = ["x86_64-linux" "i686-linux"];
supportedFeatures = [
"benchmark"
"big-parallel"
"gccarch-znver4"
"kvm"
"nixos-test"
];
}
];
nix.extraOptions = ''
builders-use-substitutes = true
'';
nix.distributedBuilds = true;
networking.hostName = "NObangers";
nixpkgs.hostPlatform = "aarch64-linux";
system.stateVersion = "23.11";
} }