mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-01 10:57:55 +00:00
19 lines
409 B
Nix
19 lines
409 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
locale.enable = true;
|
||
|
wrappers.zellij = {
|
||
|
sandboxing.variant = "bubblewrap";
|
||
|
sandboxing.wraparound.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
|
||
|
|
||
|
'';
|
||
|
};
|
||
|
}
|