mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
wrapper-manager/sandboxing/bubblewrap: fix filesystem path types
To enable arguments containing environment variables but at the cost of lack of validation. I'm fine with this.
This commit is contained in:
parent
3a4833d46d
commit
73a6dba219
@ -21,7 +21,7 @@ let
|
|||||||
filesystemSubmodule = { config, lib, name, ... }: {
|
filesystemSubmodule = { config, lib, name, ... }: {
|
||||||
options = {
|
options = {
|
||||||
source = lib.mkOption {
|
source = lib.mkOption {
|
||||||
type = lib.types.path;
|
type = lib.types.str;
|
||||||
description = ''
|
description = ''
|
||||||
The source of the path to be copied from.
|
The source of the path to be copied from.
|
||||||
'';
|
'';
|
||||||
@ -86,7 +86,7 @@ let
|
|||||||
|
|
||||||
binds = {
|
binds = {
|
||||||
ro = lib.mkOption {
|
ro = lib.mkOption {
|
||||||
type = with lib.types; listOf path;
|
type = with lib.types; listOf str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description =
|
description =
|
||||||
if isGlobal
|
if isGlobal
|
||||||
@ -104,7 +104,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
rw = lib.mkOption {
|
rw = lib.mkOption {
|
||||||
type = with lib.types; listOf path;
|
type = with lib.types; listOf str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description =
|
description =
|
||||||
if isGlobal
|
if isGlobal
|
||||||
@ -118,7 +118,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
dev = lib.mkOption {
|
dev = lib.mkOption {
|
||||||
type = with lib.types; listOf path;
|
type = with lib.types; listOf str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description =
|
description =
|
||||||
if isGlobal
|
if isGlobal
|
||||||
|
Loading…
Reference in New Issue
Block a user