properly import with correct optionals
This commit is contained in:
parent
dcdfdbaa47
commit
714093946c
12 changed files with 88 additions and 81 deletions
|
@ -1,31 +1,34 @@
|
|||
{ lib, config, ... }: lib.mkIf (config.user) {
|
||||
{ lib, config, ... }: {
|
||||
imports = [
|
||||
./programs.nix
|
||||
./themes.nix
|
||||
];
|
||||
|
||||
# Audio
|
||||
security.rtkit.enable = true;
|
||||
config = lib.mkIf config.user{
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
# Audio
|
||||
security.rtkit.enable = true;
|
||||
|
||||
# Bluetooth
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
settings = {
|
||||
General = {
|
||||
Enable = "Source,Sink,Media,Socket";
|
||||
Experimental = 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.blueman.enable = true;
|
||||
services.blueman.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue