helm/modules/desktop/rofi.nix
Henrik Lissner 437ee7289f
Add config/rofi
I'll add some menu scripts soon.
2019-12-04 00:03:30 -05:00

22 lines
501 B
Nix

{ 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 = <config/rofi>; recursive = true; };
"zsh/rc.d/env.rofi.zsh".source = <config/rofi/env.zsh>;
};
}