add pipewire.nix security.nix

This commit is contained in:
crurak 2023-08-03 06:26:50 +02:00
parent 136cfa5ba0
commit a020c863f9
4 changed files with 29 additions and 0 deletions

View File

@ -6,6 +6,8 @@
./networking.nix ./networking.nix
./nix.nix ./nix.nix
./packages.nix ./packages.nix
./pipewire.nix
./security.nix
./system.nix ./system.nix
./user.nix ./user.nix
./timezone.nix ./timezone.nix

8
modules/hyprland.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs, ... }: {
programs.hyprland.enable = true;
services.xserver = {
enable = true;
excludePackages = [ pkgs.xterm ];
};
}

13
modules/pipewire.nix Normal file
View File

@ -0,0 +1,13 @@
{
services = {
pipewire = { # Sound
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
jack.enable = true;
};
};
}

6
modules/security.nix Normal file
View File

@ -0,0 +1,6 @@
{
security = {
rtkit.enable = true; # RealTimeKit ex. PulseAudio
polkit.enable = true;
};
}