summaryrefslogtreecommitdiff
path: root/nixpkgs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-11-29 12:57:53 +0100
committerAlex Auvolat <alex@adnab.me>2023-11-29 12:57:53 +0100
commit08d10de09d3278165755043b1b5507ce009c6441 (patch)
tree48d58f2f0d5072bfc7efdc062221b2e30be38b63 /nixpkgs
parenteea128b631c3f97731fc42f608c8856fba854331 (diff)
downloaduser-config-08d10de09d3278165755043b1b5507ce009c6441.tar.gz
user-config-08d10de09d3278165755043b1b5507ce009c6441.zip
lindy: do vfio virtualization once again
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" ]; };
+ };
}