mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-21 02:08:14 +02: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 = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cycle = false;
|
cycle = false;
|
||||||
|
|
||||||
|
package = pkgs.rofi-wayland;
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
modi = "drun,filebrowser";
|
modi = "drun,filebrowser";
|
||||||
font = "Noto Sans CJK JP 12";
|
font = "Noto Sans CJK JP 12";
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alejandra.nix
|
./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…
x
Reference in New Issue
Block a user