This commit is contained in:
twoneis 2024-08-02 23:49:06 +02:00
parent 16fa4956e5
commit a5b5ea7f59
28 changed files with 164 additions and 123 deletions

40
modules/apps/default.nix Normal file
View file

@ -0,0 +1,40 @@
{ lib, config, pkgs, ... }: let
inherit (lib) mkIf;
inherit (config) conf;
in {
imports = [
./media.nix
./notes.nix
./programs.nix
./themes.nix
];
config = mkIf conf.apps.enable {
# Audio
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
# Bluetooth
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
};
};
};
home-manager.users.${conf.username}.home.packages = [ pkgs.overskride ];
services.blueman.enable = true;
};
}