mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
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:
parent
e941e20acf
commit
35f67d03ff
@ -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";
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./alejandra.nix
|
||||
./rofi.nix
|
||||
];
|
||||
}
|
||||
|
@ -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 ];
|
||||
});
|
||||
})
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user