2019-11-26 14:04:14 -08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
environment = {
|
|
|
|
systemPackages = with pkgs; [
|
|
|
|
(writeScriptBin "rofi" ''
|
|
|
|
#!${stdenv.shell}
|
2019-12-03 17:30:52 -08:00
|
|
|
exec ${rofi}/bin/rofi -terminal xst -m -1 $@
|
2019-11-26 14:04:14 -08:00
|
|
|
'')
|
|
|
|
rofi
|
|
|
|
];
|
|
|
|
|
|
|
|
# shellAliases = {};
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.users.hlissner.xdg.configFile = {
|
|
|
|
# link recursively so other modules can link files in its folder
|
|
|
|
"rofi" = { source = <config/rofi>; recursive = true; };
|
2019-12-03 17:30:52 -08:00
|
|
|
"zsh/rc.d/env.rofi.zsh".source = <config/rofi/env.zsh>;
|
2019-11-26 14:04:14 -08:00
|
|
|
};
|
|
|
|
}
|