nixos/railcar: small style changes
This commit is contained in:
parent
8f7da8ce0b
commit
589c156869
@ -22,10 +22,10 @@ let
|
||||
Type = containerConfig.runType;
|
||||
};
|
||||
};
|
||||
mount = {
|
||||
mount = with types; (submodule {
|
||||
options = {
|
||||
type = mkOption {
|
||||
type = types.string;
|
||||
type = string;
|
||||
default = "none";
|
||||
description = ''
|
||||
The type of the filesystem to be mounted.
|
||||
@ -37,21 +37,22 @@ let
|
||||
'';
|
||||
};
|
||||
source = mkOption {
|
||||
type = types.string;
|
||||
type = string;
|
||||
description = "Source for the in-container mount";
|
||||
};
|
||||
options = mkOption {
|
||||
type = with types; loaOf (string);
|
||||
type = loaOf (string);
|
||||
default = [ "bind" ];
|
||||
description = ''
|
||||
Mount options of the filesystem to be used.
|
||||
|
||||
Support optoions are listed in the mount(8) man page. Note that both
|
||||
filesystem-independent and filesystem-specific options are listed.
|
||||
Support optoions are listed in the mount(8) man page. Note that
|
||||
both filesystem-independent and filesystem-specific options
|
||||
are listed.
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
});
|
||||
in
|
||||
{
|
||||
options.services.railcar = {
|
||||
@ -68,7 +69,7 @@ in
|
||||
};
|
||||
|
||||
mounts = mkOption {
|
||||
type = with types; attrsOf (submodule (mount));
|
||||
type = with types; attrsOf mount;
|
||||
default = {};
|
||||
description = ''
|
||||
A set of mounts inside the container.
|
||||
|
Loading…
Reference in New Issue
Block a user