Closed InAnYan closed 1 week ago
It means that there is a file nixos
in /etc
, but how?
I use Terraform and Hetzner Cloud
Okay, here is the update. I'll close the issue.
I used Terraform and provisioner "file" like this:
provisioner "file" {
source = "configuration.nix"
destination = "/etc/nixos/custom.nix"
}
Turned out it somehow messed with the files and made nixos
file. Whatever, I copied the config to /tmp
and then back again in installation script (remote-exec
) to /etc/nixos/
.
Sorry for the false alert
I've passed my custom config into
/etc/nixos/custom.nix
.But it fails when I run the nixos-infect. Line is: https://github.com/elitak/nixos-infect/blob/master/nixos-infect#L24.
How do you properly pass a custom config?