ctucx.git: nixfiles

ctucx' nixfiles

commit b6fea09ddec41ab75b949cbf7013d9be4c60a758
parent 5f245573bc4d92f61a489286001ec0d534e9e41e
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 12 Jan 2022 17:07:17 +0100

programs/avahi: add program
2 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/configurations/programs/avahi.nix b/configurations/programs/avahi.nix
@@ -0,0 +1,9 @@
+{ pkgs, ... }:
+
+{
+  services = {
+    avahi.enable         = true;
+    avahi.publish.enable = true;
+    avahi.publish.userServices = true;
+  };
+}
diff --git a/configurations/programs/pipewire.nix b/configurations/programs/pipewire.nix
@@ -2,6 +2,10 @@
 
 {
   security.rtkit.enable = true;
+  imports = [
+    ./avahi.nix
+  ];
+
   services = {
     pipewire = {
       enable = true;