From c636397e6062b4d9471a4b5f4e9cf7d34a257131 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 2 Sep 2023 22:05:18 +0530 Subject: flake: init --- overlays/default.nix | 4 ++++ overlays/dwl-sinan.nix | 12 ------------ overlays/dwl-sinan/default.nix | 14 ++++++++++++++ overlays/wmenu-cez/default.nix | 12 ++++++++++++ overlays/wmenu-sinan.nix | 10 ---------- 5 files changed, 30 insertions(+), 22 deletions(-) create mode 100644 overlays/default.nix delete mode 100644 overlays/dwl-sinan.nix create mode 100644 overlays/dwl-sinan/default.nix create mode 100644 overlays/wmenu-cez/default.nix delete mode 100644 overlays/wmenu-sinan.nix (limited to 'overlays') diff --git a/overlays/default.nix b/overlays/default.nix new file mode 100644 index 0000000..b880f32 --- /dev/null +++ b/overlays/default.nix @@ -0,0 +1,4 @@ +[ + (import ./dwl-sinan) + (import ./wmenu-cez) +] diff --git a/overlays/dwl-sinan.nix b/overlays/dwl-sinan.nix deleted file mode 100644 index b3c39b0..0000000 --- a/overlays/dwl-sinan.nix +++ /dev/null @@ -1,12 +0,0 @@ -final: prev: { - dwl-sinan = prev.dwl.overrideAttrs (finalAttrs: prevAttrs: - { - pname = prevAttrs.pname + "-sinan"; - src = prev.fetchgit { - url = "https://git.sinanmohd.com/dwl"; - rev = "cadde97ee92381bfc2222bf18cd876526ab8c948"; - hash = "sha256-H2HgOQnQ5Eltz8/OVpKlS2U89aaivg5t63Ie4fembw8="; - }; - } - ); -} diff --git a/overlays/dwl-sinan/default.nix b/overlays/dwl-sinan/default.nix new file mode 100644 index 0000000..ff5c999 --- /dev/null +++ b/overlays/dwl-sinan/default.nix @@ -0,0 +1,14 @@ +final: prev: + +{ + dwl-sinan = prev.dwl.overrideAttrs (finalAttrs: prevAttrs: + { + pname = prevAttrs.pname + "-sinan"; + src = prev.fetchgit { + url = "https://git.sinanmohd.com/dwl"; + rev = "cadde97ee92381bfc2222bf18cd876526ab8c948"; + hash = "sha256-H2HgOQnQ5Eltz8/OVpKlS2U89aaivg5t63Ie4fembw8="; + }; + } + ); +} diff --git a/overlays/wmenu-cez/default.nix b/overlays/wmenu-cez/default.nix new file mode 100644 index 0000000..c304efb --- /dev/null +++ b/overlays/wmenu-cez/default.nix @@ -0,0 +1,12 @@ +final: prev: + +{ + wmenu-sinan = prev.wmenu.overrideAttrs (finalAttrs: prevAttrs: + { + pname = prevAttrs.pname + "-sinan"; + postPatch = '' + sed 's/monospace 10/monospace 13/g' -i main.c + ''; + } + ); +} diff --git a/overlays/wmenu-sinan.nix b/overlays/wmenu-sinan.nix deleted file mode 100644 index c525ab9..0000000 --- a/overlays/wmenu-sinan.nix +++ /dev/null @@ -1,10 +0,0 @@ -final: prev: { - wmenu-sinan = prev.wmenu.overrideAttrs (finalAttrs: prevAttrs: - { - pname = prevAttrs.pname + "-sinan"; - postPatch = '' - sed 's/monospace 10/monospace 13/g' -i main.c - ''; - } - ); -} -- cgit v1.2.3