containers: Remove hostCfg

This shouldn't be needed since there are many other ways to share
configuration from the host, and I never used opengl.extraPackages
anyway.
This commit is contained in:
Donovan Glover 2023-06-12 03:07:00 -04:00
parent 1deb12331d
commit ce57cd1433
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -1,6 +1,4 @@
{ config, ... }: let VARIABLES = import ../src/variables.nix; in {
let VARIABLES = import ../src/variables.nix; hostCfg = config; in {
containers.wine = { containers.wine = {
privateNetwork = true; privateNetwork = true;
@ -71,7 +69,6 @@ let VARIABLES = import ../src/variables.nix; hostCfg = config; in {
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
extraPackages = hostCfg.hardware.opengl.extraPackages;
driSupport32Bit = true; driSupport32Bit = true;
}; };