{ pkgs, nixosConfig, ... }: let gnomeConfig = nixosConfig.services.xserver.desktopManager.gnome; gdmConfig = nixosConfig.services.xserver.displayManager.gdm; isGnome = gnomeConfig.enable; isGDMWayland = gdmConfig.enable && gdmConfig.wayland; isWayland = isGnome && isGDMWayland; # rofi currently does not run on gnome rofiPackage = pkgs.rofi; in { home.packages = [rofiPackage]; home.file.".local/share/rofi/themes/rofi-nord.rasi".source = ./rofi-nord.rasi; home.file.".config/rofi/config.rasi".source = ./config.rasi; }