2020-03-06 00:26:36 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
2019-09-04 12:46:04 +02:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.rofi = {
|
|
|
|
enable = true;
|
|
|
|
theme = "foo";
|
|
|
|
colors = {
|
|
|
|
window = {
|
|
|
|
background = "background";
|
|
|
|
border = "border";
|
|
|
|
separator = "separator";
|
|
|
|
};
|
2020-02-02 00:39:17 +01:00
|
|
|
rows = { };
|
2019-09-04 12:46:04 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2020-02-02 00:39:17 +01:00
|
|
|
home.file.result.text = builtins.toJSON
|
|
|
|
(map (a: a.message) (filter (a: !a.assertion) config.assertions));
|
2019-09-04 12:46:04 +02:00
|
|
|
|
2020-03-06 00:26:36 +01:00
|
|
|
nixpkgs.overlays =
|
|
|
|
[ (self: super: { rofi = pkgs.writeScriptBin "dummy-rofi" ""; }) ];
|
|
|
|
|
2019-09-04 12:46:04 +02:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileContent \
|
|
|
|
home-files/result \
|
|
|
|
${./assert-on-both-theme-and-colors-expected.json}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|