mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 12:33:27 +00:00
32 lines
655 B
Nix
32 lines
655 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.rofi = {
|
|
enable = true;
|
|
font = "Droid Sans Mono 14";
|
|
terminal = "/some/path";
|
|
cycle = false;
|
|
window = {
|
|
background = "background";
|
|
border = "border";
|
|
separator = "separator";
|
|
};
|
|
extraConfig = {
|
|
modi = "drun,emoji,ssh";
|
|
kb-primary-paste = "Control+V,Shift+Insert";
|
|
kb-secondary-paste = "Control+v,Insert";
|
|
};
|
|
};
|
|
|
|
test.stubs.rofi = { };
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/rofi/config.rasi \
|
|
${./valid-config-expected.rasi}
|
|
'';
|
|
};
|
|
}
|