fork/home-manager

git clone https://git.julia.blue/fork/home-manager

j-brnlooking-glass-client: add module42f81ac1

master
706 B41 linesraw
1{ config, lib, ... }:
2
3with lib;
4
5{
6  config = {
7    programs.looking-glass-client = {
8      enable = true;
9      package = config.lib.test.mkStubPackage { };
10
11      settings = {
12        app = {
13          allowDMA = true;
14          shmFile = "/dev/kvmfr0";
15        };
16
17        win = {
18          fullScreen = true;
19          showFPS = false;
20          jitRender = true;
21        };
22
23        spice = {
24          enable = true;
25          audio = true;
26        };
27
28        input = {
29          rawMouse = true;
30          escapeKey = 62;
31        };
32      };
33    };
34
35    nmt.script = ''
36      assertFileContent \
37        home-files/.config/looking-glass/client.ini \
38        ${./example-config.ini}
39    '';
40  };
41}