mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
19 lines
409 B
Nix
19 lines
409 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
locale.enable = true;
|
|
wrappers.zellij = {
|
|
wraparound.variant = "bubblewrap";
|
|
wraparound.subwrapper.arg0 = lib.getExe' pkgs.zellij "zellij";
|
|
};
|
|
build.extraPassthru.tests = {
|
|
zellijWrapperCheck =
|
|
let
|
|
wrapper = config.build.toplevel;
|
|
in pkgs.runCommand { } ''
|
|
[ -x ${lib.getExe' wrapper "zellij"} ] && touch $out
|
|
|
|
'';
|
|
};
|
|
}
|