Add bunch more programs / services modularly

This commit is contained in:
Sravan Balaji
2024-03-24 12:14:10 -04:00
parent 711b98a9b0
commit 7f1c5c5baa
21 changed files with 191 additions and 0 deletions

13
system/hardware/audio.nix Normal file
View File

@@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = [ pkgs.pipewire ];
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
}

View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = [
pkgs.gvfs
pkgs.udisks
pkgs.udiskie
];
services.devmon.enable = true;
services.gvfs.enable = true;
services.udisks2.enable = true;
}

View File

@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = [ pkgs.blueman ];
hardware.bluetooth.enable = true;
services.blueman.enable = true;
}

View File

@@ -0,0 +1,6 @@
{ config, lib, pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.consoleLogLevel = 0;
}

View File

@@ -0,0 +1,5 @@
{ config, lib, pkgs, ... }:
{
hardware.opengl.enable = true;
}

View File

@@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = [ pkgs.openrgb-with-all-plugins ];
services.hardware.openrgb = {
enable = true;
};
}

View File

@@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = [
pkgs.cups
pkgs.cups-filters
pkgs.avahi
];
services.printing.enable = true;
services.avahi.enable = true;
services.avahi.nssmdns4 = true;
services.avahi.openFirewall = true;
}