fork/home-manager

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

Christoph Heisswofi: add module (#3786)5160039e

master
780 B35 linesraw
1{ pkgs, ... }:
2
3{
4  config = {
5    programs.wofi = {
6      enable = true;
7      package = pkgs.writeScriptBin "dummy-wofi" "";
8      style = ''
9        * {
10            font-family: monospace;
11        }
12        window {
13            background-color: #7c818c;
14        }
15      '';
16      settings = {
17        drun-print_command = true;
18        insensitive = true;
19        show = "drun";
20        xoffset = 50;
21        yoffset = 200;
22      };
23    };
24
25    nmt.script = ''
26      assertFileExists home-files/.config/wofi/config
27      assertFileContent home-files/.config/wofi/config \
28          ${./basic-configuration.conf}
29
30      assertFileExists home-files/.config/wofi/style.css
31      assertFileContent home-files/.config/wofi/style.css \
32          ${./basic-style.css}
33    '';
34  };
35}