mirror of
https://github.com/nix-community/home-manager
synced 2024-09-12 22:36:31 +02:00
34 lines
592 B
Nix
34 lines
592 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
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));
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/result \
|
||
|
${./assert-on-both-theme-and-colors-expected.json}
|
||
|
'';
|
||
|
};
|
||
|
}
|