11.stylix/modules/ghostty/testbed.nix
awwpotato 6d9867604e
treewide: reduce indentation level with lib.singleton (#754)
Reduce the indentation level with lib.singleton, as recommended by RFC 0166. [1]

[1]: 25c3f52463/rfcs/0166-nix-formatting.md (singleton-lists)

Link: https://github.com/danth/stylix/pull/754

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-01-08 02:01:45 +01:00

18 lines
300 B
Nix

{ lib, pkgs, ... }:
let
package = pkgs.ghostty;
in
{
stylix.testbed.application = {
enable = true;
name = "com.mitchellh.ghostty";
inherit package;
};
home-manager.sharedModules = lib.singleton {
programs.ghostty = {
enable = true;
inherit package;
};
};
}