mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-25 06:19:10 +00:00
tests/modules/wrapper-manager: update wraparound config
This commit is contained in:
parent
878c4c186f
commit
8f3e16540e
@ -1,21 +1,21 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
build.isBinary = false;
|
build.variant = "shell";
|
||||||
locale.enable = true;
|
locale.enable = true;
|
||||||
|
|
||||||
wrappers.tmux = {
|
wrappers.tmux = {
|
||||||
sandboxing.variant = "boxxy";
|
wraparound.variant = "boxxy";
|
||||||
sandboxing.wraparound.arg0 = lib.getExe' pkgs.tmux "tmux";
|
wraparound.subwrapper.arg0 = lib.getExe' pkgs.tmux "tmux";
|
||||||
sandboxing.boxxy.rules = {
|
wraparound.boxxy.rules = {
|
||||||
"~/.config/tmux/tmux.conf".source = "~/.tmux.conf";
|
"~/.config/tmux/tmux.conf".source = "~/.tmux.conf";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
wrappers.zellij = {
|
wrappers.zellij = {
|
||||||
sandboxing.variant = "boxxy";
|
wraparound.variant = "boxxy";
|
||||||
sandboxing.wraparound.arg0 = lib.getExe' pkgs.zellij "zellij";
|
wraparound.subwrapper.arg0 = lib.getExe' pkgs.zellij "zellij";
|
||||||
sandboxing.boxxy.rules = {
|
wraparound.boxxy.rules = {
|
||||||
"$XDG_CONFIG_HOME/zellij/hello.kdl".source = "$XDG_CONFIG_HOME/zellij/config.kdl";
|
"$XDG_CONFIG_HOME/zellij/hello.kdl".source = "$XDG_CONFIG_HOME/zellij/config.kdl";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
build.isBinary = false;
|
build.variant = "shell";
|
||||||
wrappers.hello = {
|
wrappers.hello = {
|
||||||
sandboxing.variant = "bubblewrap";
|
wraparound.variant = "bubblewrap";
|
||||||
sandboxing.wraparound.arg0 = lib.getExe' pkgs.hello "hello";
|
wraparound.subwrapper.arg0 = lib.getExe' pkgs.hello "hello";
|
||||||
sandboxing.bubblewrap.dbus = {
|
wraparound.bubblewrap.dbus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
filter.addresses = {
|
filter.addresses = {
|
||||||
"org.freedesktop.systemd1".policies.level = "talk";
|
"org.freedesktop.systemd1".policies.level = "talk";
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
{
|
{
|
||||||
locale.enable = true;
|
locale.enable = true;
|
||||||
wrappers.zellij = {
|
wrappers.zellij = {
|
||||||
sandboxing.variant = "bubblewrap";
|
wraparound.variant = "bubblewrap";
|
||||||
sandboxing.wraparound.arg0 = lib.getExe' pkgs.zellij "zellij";
|
wraparound.subwrapper.arg0 = lib.getExe' pkgs.zellij "zellij";
|
||||||
};
|
};
|
||||||
build.extraPassthru.tests = {
|
build.extraPassthru.tests = {
|
||||||
zellijWrapperCheck =
|
zellijWrapperCheck =
|
||||||
|
Loading…
Reference in New Issue
Block a user