Add bunch more programs / services modularly
This commit is contained in:
13
system/hardware/audio.nix
Normal file
13
system/hardware/audio.nix
Normal 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;
|
||||
};
|
||||
}
|
12
system/hardware/automount.nix
Normal file
12
system/hardware/automount.nix
Normal 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;
|
||||
}
|
7
system/hardware/bluetooth.nix
Normal file
7
system/hardware/bluetooth.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.blueman ];
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
}
|
6
system/hardware/kernel.nix
Normal file
6
system/hardware/kernel.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||
boot.consoleLogLevel = 0;
|
||||
}
|
5
system/hardware/opengl.nix
Normal file
5
system/hardware/opengl.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
hardware.opengl.enable = true;
|
||||
}
|
8
system/hardware/openrgb.nix
Normal file
8
system/hardware/openrgb.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.openrgb-with-all-plugins ];
|
||||
services.hardware.openrgb = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
13
system/hardware/printing.nix
Normal file
13
system/hardware/printing.nix
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user