From a8a79a866469c281f5c15daa7b2bd1de91f1d99c Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 31 Jul 2025 23:57:11 +0900 Subject: cmd/hpkg: rename from planterette Planterette is now developed in another repository, so rename this proof of concept to avoid confusion. Signed-off-by: Ophestra --- cmd/hpkg/test/foot.nix | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 cmd/hpkg/test/foot.nix (limited to 'cmd/hpkg/test/foot.nix') diff --git a/cmd/hpkg/test/foot.nix b/cmd/hpkg/test/foot.nix new file mode 100644 index 00000000..76b677ac --- /dev/null +++ b/cmd/hpkg/test/foot.nix @@ -0,0 +1,48 @@ +{ + lib, + buildPackage, + foot, + wayland-utils, + inconsolata, +}: + +buildPackage { + name = "foot"; + inherit (foot) version; + + identity = 2; + id = "org.codeberg.dnkl.foot"; + + modules = [ + { + home.packages = [ + foot + + # For wayland-info: + wayland-utils + ]; + } + ]; + + nixosModules = [ + { + # To help with OCR: + environment.etc."xdg/foot/foot.ini".text = lib.generators.toINI { } { + main = { + font = "inconsolata:size=14"; + }; + colors = rec { + foreground = "000000"; + background = "ffffff"; + regular2 = foreground; + }; + }; + + fonts.packages = [ inconsolata ]; + } + ]; + + script = '' + exec foot "$@" + ''; +} -- cgit v1.3.1