1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-30 18:38:31 +02:00
home-manager/tests/modules/programs/rofi/assert-on-both-theme-and-colors.nix

28 lines
532 B
Nix
Raw Normal View History

{ 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
};
};
nixpkgs.overlays =
[ (self: super: { rofi = pkgs.writeScriptBin "dummy-rofi" ""; }) ];
test.asserts.assertions.expected = [''
Cannot use the rofi options 'theme' and 'colors' simultaneously.
''];
2019-09-04 12:46:04 +02:00
};
}