summaryrefslogtreecommitdiff
path: root/nixpkgs
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs')
-rw-r--r--nixpkgs/lindy.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/lindy.nix b/nixpkgs/lindy.nix
index 98b5dcd..66cb4f9 100644
--- a/nixpkgs/lindy.nix
+++ b/nixpkgs/lindy.nix
@@ -9,5 +9,16 @@
enableBashIntegration = true;
keys = [ "~/.ssh/id_ed25519" ];
};
+
+ # scream listener for virtual machine
+ systemd.user.services."scream-listener" = {
+ Unit = { Description = "Scream listener"; };
+ Service = {
+ ExecStart = "${pkgs.scream}/bin/scream -o pulse -i virbr0";
+ RestartSec = 10;
+ Restart = "always";
+ };
+ Install = { WantedBy = [ "default.target" ]; };
+ };
}