You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and some other lines in that file, as well as some rough understanding of flakes in general, I seem to believe a minimal flake.nix for nixopsUnstable would look like below:
{description="NixOps config of my servers";inputs={nixpkgs.url="github:nixos/nixpkgs/release-22.11";};outputs={self, ... }@inputs: {nixopsConfigurations.default={inherit(inputs)nixpkgs;network.description="my servers";network.storage.legacy={};#network.storage.memory = {}; # what's the difference with above?#network.enableRollback = true; # uncomment if you like/know what this even does### Machines ####my-machine-1 = { pkgs, ... }: {# deployment.targetHost = "1.2.3.4";# services.nginx.enable = true;#};};};}
Hello, I'm new to nixops and couldn't find how to set up a flake. Is there any documentation explaining so?
The text was updated successfully, but these errors were encountered: