Files
home-manager/tests/modules/programs/impala/example-config.nix
Rachit Kumar Verma 4ac5a2ae90 module/impala: TUI for managing wifi on Linux
impala v0.9.0 introduces a configuration file to configure impala.
2026-09-17 20:31:15 -05:00

46 lines
964 B
Nix

{
programs.impala = {
enable = true;
settings = {
access_point = {
start = "n";
stop = "x";
};
ascii = false;
device = {
infos = "i";
toggle_power = "o";
};
esc_quit = false;
mode = "station";
station = {
known_network = {
remove = "d";
share = "p";
show_all = "a";
toggle_autoconnect = "t";
};
new_network = {
connect_hidden = "";
show_all = "a";
};
toggle_scanning = "s";
};
switch = "r";
theme = {
background = "dark gray";
border = "green";
error_color = "red";
hidden_color = "dark gray";
info_color = "green";
text_color = "white";
warning_color = "yellow";
};
};
};
nmt.script = ''
assertFileContent "home-files/.config/impala/config.toml" ${./expected-config.toml}
'';
}