refactor: modularize core

This commit is contained in:
Youwen Wu 2024-12-23 02:09:41 -08:00
parent c3fa2197cb
commit a6224c13c2
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
2 changed files with 124 additions and 66 deletions

View file

@ -14,8 +14,6 @@ in
config = {
services.playerctld.enable = lib.mkIf cfg.enable true;
hardware.pulseaudio.enable = lib.mkIf cfg.enable false;
# TODO: move to other file
security.rtkit.enable = true;
services.pipewire = lib.mkIf cfg.enable {
enable = true;
alsa.enable = true;