MODIFY: change docker to homeshareDataLocation in configVars
This commit is contained in:
parent
84d5521949
commit
d783ee2665
|
@ -9,8 +9,7 @@
|
|||
containerIp = configVars.networking.addresses.docker.ip;
|
||||
gatewayIp = configVars.networking.addresses.gateway.ip;
|
||||
dockerContainerData = configVars.locations.dockerContainerData;
|
||||
mediaDataMountPoint = configVars.locations.mediaDataMountPoint;
|
||||
photosDataMountPoint = configVars.locations.photosDataMountPoint;
|
||||
homeshareDataLocation = configVars.locations.homeshareDataLocation;
|
||||
pubKeys = lib.filesystem.listFilesRecursive ../../users/keys;
|
||||
arion = inputs.arion;
|
||||
sops-nix = inputs.sops-nix;
|
||||
|
@ -79,7 +78,7 @@ in {
|
|||
nixpkgs = pkgs.path;
|
||||
bindMounts = {
|
||||
"/media/photos" = {
|
||||
hostPath = photosDataMountPoint;
|
||||
hostPath = "${homeshareDataLocation}/photos";
|
||||
isReadOnly = false;
|
||||
};
|
||||
"/dev/dri" = {
|
||||
|
@ -87,7 +86,7 @@ in {
|
|||
isReadOnly = false;
|
||||
};
|
||||
"/media/media" = {
|
||||
hostPath = mediaDataMountPoint;
|
||||
hostPath = "${homeshareDataLocation}/media";
|
||||
isReadOnly = false;
|
||||
};
|
||||
"/srv/docker" = {
|
||||
|
|
Loading…
Reference in New Issue