Comments (14)
#1573 is the fix, I'll poke Robert about it.
from nixops.
I'll take a look tomorrow morning.
from nixops.
I've opened #1573, which solves this for me, but it would be nice with more testing.
from nixops.
Maybe we should do that for now and push a patch release? nixops has been broken in nixpkgs for quite a while now, and while it is possible to use a pinned version it is annoying and requires every user to find out what is happening on their own.
from nixops.
Yes, that should be because the hetzner plugin is missing. A somewhat easy way to test this is to override NixOps' src
attribute in nixpkgs.
from nixops.
I'm seeing this too for every key in my config (at least removing the first few just saw other ones fail).
Likely related to #1569 cc @K900 @roberth.
My keys look like:
deployment.keys.foo = {
text = "Some secret";
destDir = "/var/keys";
};
from nixops.
Any update on this?
from nixops.
Sorry, completely lost track of this :( Can you try #1572 ?
from nixops.
Sorry, completely lost track of this :( Can you try #1572 ?
Is there an easy way to get the a flake input with your contribution?
from nixops.
github:K900/nixops/patch-1
from nixops.
That did not fix the problem.
from nixops.
Sorry then, I'm temporarily out of ideas. I'll have to look at it closer later. For now you should be able to comment out this line:
Line 168 in 2cfc2cb
from nixops.
github:K900/nixops/patch-1
hope this isn't too offtopic but I am trying to use these patches, but with a flake like this:
{
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
nixops.url = "github:talyz/nixops/mapping-types";
nixops.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, flake-utils, nixops, ... }:
{
nixopsConfigurations.default = {
inherit nixpkgs;
network.storage.legacy.databasefile = "~/.nixops/deployments.nixops";
network.enableRollback = true;
};
} // flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
nixops-pkgs = nixops.packages.${system};
in {
devShell = pkgs.mkShell {
buildInputs = [
pkgs.nix
nixops-pkgs.default
];
};
formatter = nixpkgs.legacyPackages.${system}.nixpkgs-fmt;
});
}
I just get
error: The option `deployment.hetznerCloud' does not exist. Definition values:
...
wish something like this would work ^^ #1324 (comment)
from nixops.
This has been broken in nixpkgs-unstable
for a month now. Can we consider merging a quick fix (disabling the type check) for now until we can get a full resolution?
For those who need to deploy now an easy workaround is using nixops from 23.05 nix shell github:NixOS/nixpkgs/nixos-23.05#nixopsUnstable -c nixops help
. Be aware what version you are using though if you need bug fixes or new features.
from nixops.
Related Issues (20)
- repl reflection HOT 2
- Document flakes usage
- Document the status of the project HOT 7
- `nixops deploy` fails with `error: attribute 'type' missing` HOT 1
- Nixpkgs marked poetry to be insecure (indirectly). HOT 1
- nixops check: `run-initramfs.mount [failed]`
- Configure black as pre-commit hook
- Documentation: How to specify nixopsConfiguration.default? HOT 2
- How does nixops work? HOT 2
- `Pseudo-terminal will not be allocated because stdin is not a terminal.` HOT 1
- README instructions not working HOT 1
- Hangs at `copying closure...` HOT 13
- Abstract out SSH configuration
- error: function 'mkPackageOption' called with unexpected argument 'nullable' HOT 4
- `resources.elasticIPs.<name>` not creating elastic IP
- installation fails when following the official guide HOT 2
- nixops deploys keys to root instead of `deployment.targetUser` HOT 2
- nixops closes SSH connection when running `nixops check` HOT 1
- Clarify the status of NixOps HOT 25
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixops.