Skip to content

Hermetic configuration are not to be imported with deploy_nixos #80

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tomferon
Copy link

My understanding is that I should be able to write something like this:

module “deploy_nixos” {
  # …
  hermetic = true
  config_pwd = “${path.module}/../somewhere”
  config = <<-EOF
    (import ./something.nix) {
      var1 = “${var.variable1}”;
    }
EOF
}

For this to be possible, hermetic configuration using config rather than config_file should not be imported as far as I can tell.

@KiaraGrouwstra
Copy link

KiaraGrouwstra commented Apr 12, 2025

this seems related to #58. i think #85 would make for an approach that would facilitate both the config / config_file scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants