meta: Replace rofi overlay with nixpkgs version

The overlay isn't needed anymore since rofi-wayland was updated in
nixpkgs.
This commit is contained in:
Donovan Glover 2023-08-28 15:37:19 -04:00
parent e941e20acf
commit 35f67d03ff
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 3 additions and 24 deletions

View File

@ -1,10 +1,12 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
{
programs.rofi = {
enable = true;
cycle = false;
package = pkgs.rofi-wayland;
extraConfig = {
modi = "drun,filebrowser";
font = "Noto Sans CJK JP 12";

View File

@ -1,6 +1,5 @@
{
imports = [
./alejandra.nix
./rofi.nix
];
}

View File

@ -1,22 +0,0 @@
{ pkgs, ... }:
{
nixpkgs.overlays = [
(final: prev: {
rofi-unwrapped = prev.rofi-unwrapped.overrideAttrs (oldAttrs: rec {
version = "d06095b5ed40e5d28236b7b7b575ca867696d847";
src = final.fetchFromGitHub {
owner = "lbonn";
repo = "rofi";
rev = version;
fetchSubmodules = true;
sha256 = "sha256-8IfHpaVFGeWqyw+tLjNtg+aWwAHhSA5PuXJYjpoht2E=";
};
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ pkgs.wayland-scanner ];
buildInputs = oldAttrs.buildInputs ++ [ pkgs.wayland pkgs.wayland-protocols ];
});
})
];
}