Files
home-manager/tests/modules/programs/rofi/no-settings.nix
Austin Horstman ac84366d68 rofi: generate configuration only when configured
Leave native defaults to Rofi instead of injecting location and offset
values. Preserve explicit legacy settings and theme selection, and omit
configuration files when no effective settings or theme are supplied.
2026-09-16 22:06:20 -05:00

12 lines
288 B
Nix

{ config, ... }:
{
programs.rofi.enable = true;
nmt.script =
assert builtins.elem config.programs.rofi.finalPackage config.home.packages;
''
assertPathNotExists home-files/.config/rofi/config.rasi
assertPathNotExists home-files/.local/share/rofi/themes
'';
}