refactor(Zephyrus): Moved hardware specific config to hardward-configuration.nix
This commit is contained in:
parent
8a05c2e2c4
commit
5a109c6c90
2 changed files with 17 additions and 17 deletions
|
@ -16,25 +16,8 @@
|
|||
|
||||
console.keyMap = "fr";
|
||||
|
||||
# Network & Bluetooth
|
||||
networking.wireless.iwd.enable = true;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
|
||||
security.pam.services.swaylock = {};
|
||||
|
||||
# Audio
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
};
|
||||
|
||||
# Services
|
||||
services.seatd.enable = true;
|
||||
services.blueman.enable = true;
|
||||
|
|
|
@ -33,6 +33,23 @@
|
|||
tmp.useTmpfs = true;
|
||||
};
|
||||
|
||||
# Network & Bluetooth
|
||||
networking.wireless.iwd.enable = true;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
|
||||
# Audio
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
};
|
||||
|
||||
#NVIDIA
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
|
|
Loading…
Reference in a new issue