mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
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.
12 lines
288 B
Nix
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
|
|
'';
|
|
}
|