mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-28 16:36:28 +08:00
desc
This commit is contained in:
parent
4246112488
commit
03f697cf33
1 changed files with 6 additions and 1 deletions
|
|
@ -28,6 +28,9 @@ in
|
|||
options = {
|
||||
localAddress = lib.mkOption {
|
||||
type = types.str;
|
||||
description = ''
|
||||
IP address of the host that will run containers.
|
||||
'';
|
||||
default =
|
||||
(builtins.head (builtins.head (lib.attrValues config.networking.interfaces)).ipv4.addresses).address;
|
||||
};
|
||||
|
|
@ -35,7 +38,9 @@ in
|
|||
type = types.int;
|
||||
default = 1234;
|
||||
description = ''
|
||||
Shared UID between host and containers, so guest nix can access /nix/store of host.
|
||||
Shared UID between host and containers.
|
||||
|
||||
This allows the guest nix processes to access /nix/store of the host.
|
||||
'';
|
||||
};
|
||||
owner = lib.mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue