Add services to pi

This commit is contained in:
Jordan Holt 2023-12-03 23:24:21 +00:00
parent 4ad4814bed
commit f47fd2217e
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -3,7 +3,6 @@
with lib.my; with lib.my;
{ {
imports = [ imports = [
<nixos-hardware/raspberry-pi/4>
./hardware-configuration.nix ./hardware-configuration.nix
../server.nix ../server.nix
]; ];
@ -32,6 +31,20 @@ with lib.my;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
systemWide = true;
};
services.shairport-sync = {
enable = true;
group = [ "pipewire" ];
openFirewall = true;
};
services.zigbee2mqtt = {
enable = true;
settings = {
permit_join = true;
};
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [