mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-02 15:09:40 +00:00
fix(nixos): bluetooth audio control, pipewire
This commit is contained in:
parent
2cab5b4338
commit
3537abf5a2
4 changed files with 27 additions and 13 deletions
|
|
@ -1,11 +1,9 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }: {
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
# ./agenix.nix
|
||||
|
||||
./battery.nix
|
||||
./gui.nix
|
||||
./locale.nix
|
||||
|
|
@ -26,15 +24,22 @@
|
|||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
description = "leana";
|
||||
extraGroups = ["wheel" "video"];
|
||||
packages = [];
|
||||
extraGroups = [ "wheel" "video" "audio" ];
|
||||
packages = [ ];
|
||||
};
|
||||
|
||||
sound = {
|
||||
enable = true;
|
||||
mediaKeys.enable = true;
|
||||
};
|
||||
hardware.pulseaudio.enable = true;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
|
|
@ -48,7 +53,7 @@
|
|||
};
|
||||
settings = {
|
||||
auto-optimise-store = true;
|
||||
substituters = ["https://nix-community.cachix.org"];
|
||||
substituters = [ "https://nix-community.cachix.org" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue