diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-31 23:57:11 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-31 23:57:11 +0900 |
| commit | a8a79a866469c281f5c15daa7b2bd1de91f1d99c (patch) | |
| tree | a43ec55565b9207b813528ac21da6c07ad2f5bc3 /cmd/hpkg/test/foot.nix | |
| parent | 3ae0cec000408562452703b2c0faad42260e3b53 (diff) | |
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 <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hpkg/test/foot.nix')
| -rw-r--r-- | cmd/hpkg/test/foot.nix | 48 |
1 files changed, 48 insertions, 0 deletions
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 "$@" + ''; +} |
