mirror of
https://github.com/nix-community/home-manager
synced 2024-08-21 11:36:29 +02:00
33 lines
668 B
Nix
33 lines
668 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.rofi = {
|
|
enable = true;
|
|
theme = "foo";
|
|
colors = {
|
|
window = {
|
|
background = "background";
|
|
border = "border";
|
|
separator = "separator";
|
|
};
|
|
rows = { };
|
|
};
|
|
};
|
|
|
|
home.file.result.text = builtins.toJSON
|
|
(map (a: a.message) (filter (a: !a.assertion) config.assertions));
|
|
|
|
nixpkgs.overlays =
|
|
[ (self: super: { rofi = pkgs.writeScriptBin "dummy-rofi" ""; }) ];
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/result \
|
|
${./assert-on-both-theme-and-colors-expected.json}
|
|
'';
|
|
};
|
|
}
|