adjust themes and other stuff

This commit is contained in:
kp2pml30 2025-02-02 00:24:27 +04:00
parent 1bd790f1c8
commit 70e965c63f
17 changed files with 332 additions and 183 deletions

21
nix/hardware/audio.nix Normal file
View 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
];
}

View file

@ -10,11 +10,13 @@
options.kp2pml30.hardware = {
wireless = lib.mkEnableOption "";
audio = lib.mkEnableOption "";
};
imports = [
./efiGrub.nix
./wireless.nix
./audio.nix
];
config = {