{ config, lib, pkgs, ... }: { environment = { systemPackages = with pkgs; [ (writeScriptBin "rofi" '' #!${stdenv.shell} exec ${rofi}/bin/rofi -terminal xst -m -1 $@ '') rofi ]; # shellAliases = {}; }; home-manager.users.hlissner.xdg.configFile = { # link recursively so other modules can link files in its folder "rofi" = { source = ; recursive = true; }; "zsh/rc.d/env.rofi.zsh".source = ; }; }