MODIFY: change docker to homeshareDataLocation in configVars

This commit is contained in:
Sam 2025-01-19 11:31:56 +00:00
parent 84d5521949
commit d783ee2665
1 changed files with 3 additions and 4 deletions

View File

@ -9,8 +9,7 @@
containerIp = configVars.networking.addresses.docker.ip; containerIp = configVars.networking.addresses.docker.ip;
gatewayIp = configVars.networking.addresses.gateway.ip; gatewayIp = configVars.networking.addresses.gateway.ip;
dockerContainerData = configVars.locations.dockerContainerData; dockerContainerData = configVars.locations.dockerContainerData;
mediaDataMountPoint = configVars.locations.mediaDataMountPoint; homeshareDataLocation = configVars.locations.homeshareDataLocation;
photosDataMountPoint = configVars.locations.photosDataMountPoint;
pubKeys = lib.filesystem.listFilesRecursive ../../users/keys; pubKeys = lib.filesystem.listFilesRecursive ../../users/keys;
arion = inputs.arion; arion = inputs.arion;
sops-nix = inputs.sops-nix; sops-nix = inputs.sops-nix;
@ -79,7 +78,7 @@ in {
nixpkgs = pkgs.path; nixpkgs = pkgs.path;
bindMounts = { bindMounts = {
"/media/photos" = { "/media/photos" = {
hostPath = photosDataMountPoint; hostPath = "${homeshareDataLocation}/photos";
isReadOnly = false; isReadOnly = false;
}; };
"/dev/dri" = { "/dev/dri" = {
@ -87,7 +86,7 @@ in {
isReadOnly = false; isReadOnly = false;
}; };
"/media/media" = { "/media/media" = {
hostPath = mediaDataMountPoint; hostPath = "${homeshareDataLocation}/media";
isReadOnly = false; isReadOnly = false;
}; };
"/srv/docker" = { "/srv/docker" = {