mirror of
https://github.com/kp2pml30/dotfiles.git
synced 2026-02-17 07:44:41 +04:00
adjust themes and other stuff
This commit is contained in:
parent
1bd790f1c8
commit
70e965c63f
17 changed files with 332 additions and 183 deletions
21
nix/hardware/audio.nix
Normal file
21
nix/hardware/audio.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, rootPath
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.kp2pml30;
|
||||
in lib.mkIf cfg.hardware.audio {
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
alsa-utils
|
||||
acpid
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue