1
0

rofi.nix 801 B

1234567891011121314151617181920212223242526
  1. { pkgs, lib, ... }:
  2. let
  3. rofiRepo = builtins.fetchTarball {
  4. url = "https://github.com/johron/adi1090x-rofi/archive/refs/heads/master.tar.gz";
  5. sha256 = "02svplixyy6i3x28qjj0hb7lp4xl42a93iz342vibjz8665ajjwb";
  6. };
  7. in
  8. {
  9. programs.rofi = {
  10. enable = true;
  11. package = pkgs.rofi;
  12. theme = "launchers/type-4/style-5.rasi";
  13. };
  14. home = {
  15. file = {
  16. "/.config/rofi/launchers".source = "${rofiRepo}/files/launchers";
  17. "/.config/rofi/applets".source = "${rofiRepo}/files/applets";
  18. "/.config/rofi/colors".source = "${rofiRepo}/files/colors";
  19. "/.config/rofi/images".source = "${rofiRepo}/files/images";
  20. "/.config/rofi/powermenu".source = "${rofiRepo}/files/powermenu";
  21. "/.config/rofi/scripts".source = "${rofiRepo}/files/scripts";
  22. };
  23. };
  24. }