diff options
author | Alex Auvolat <alex@adnab.me> | 2023-11-29 12:57:53 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-11-29 12:57:53 +0100 |
commit | 08d10de09d3278165755043b1b5507ce009c6441 (patch) | |
tree | 48d58f2f0d5072bfc7efdc062221b2e30be38b63 /nixpkgs | |
parent | eea128b631c3f97731fc42f608c8856fba854331 (diff) | |
download | user-config-08d10de09d3278165755043b1b5507ce009c6441.tar.gz user-config-08d10de09d3278165755043b1b5507ce009c6441.zip |
lindy: do vfio virtualization once again
Diffstat (limited to 'nixpkgs')
-rw-r--r-- | nixpkgs/lindy.nix | 11 |
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" ]; }; + }; } |