From 08d10de09d3278165755043b1b5507ce009c6441 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 29 Nov 2023 12:57:53 +0100 Subject: lindy: do vfio virtualization once again --- nixpkgs/lindy.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'nixpkgs') 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" ]; }; + }; } -- cgit v1.2.3