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, ... }: {
|
||||
options = {
|
||||
source = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
type = lib.types.str;
|
||||
description = ''
|
||||
The source of the path to be copied from.
|
||||
'';
|
||||
@ -86,7 +86,7 @@ let
|
||||
|
||||
binds = {
|
||||
ro = lib.mkOption {
|
||||
type = with lib.types; listOf path;
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
description =
|
||||
if isGlobal
|
||||
@ -104,7 +104,7 @@ let
|
||||
};
|
||||
|
||||
rw = lib.mkOption {
|
||||
type = with lib.types; listOf path;
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
description =
|
||||
if isGlobal
|
||||
@ -118,7 +118,7 @@ let
|
||||
};
|
||||
|
||||
dev = lib.mkOption {
|
||||
type = with lib.types; listOf path;
|
||||
type = with lib.types; listOf str;
|
||||
default = [ ];
|
||||
description =
|
||||
if isGlobal
|
||||
|
Loading…
Reference in New Issue
Block a user