aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-12 17:20:53 +0000
committertv <tv@krebsco.de>2026-11-12 17:20:53 +0000
commit9359951b4470542049ceb63ad04b7526a4c6c9e8 (patch)
tree8c0429be48b970ac038717021a05b45b218f4ed3 /README.md
parent1ecf303545d70da9b861b08874b71fd259ac4d3f (diff)
populate flake, flake-input: take the flake reference as url
Flake and flake-input sources take the flake reference as attribute url, like git sources take their repository, and like inputs in flake.nix: something.flake = "github:owner/something"; otherthing.flake = { url = "github:owner/otherthing"; inputs.nixpkgs.follows = "nixpkgs"; };
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index c0a9c6f..8850fb8 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ described below as `lib.<system>`, and its `lib` directory provides
program = toString (krops.lib.${system}.writeDeploy "deploy" {
source = lib.evalSource [{
nixos-config.file = toString ./configuration.nix;
- nixpkgs.flake-input = { flake = toString self; name = "nixpkgs"; };
+ nixpkgs.flake-input = { url = toString self; name = "nixpkgs"; };
}];
target = "root@YOUR_IP_ADDRESS_OR_HOST_NAME_HERE";
});
@@ -380,7 +380,7 @@ Supported attributes:
later) on the target, and works for targets using `sudo`. Defaults to
`false`.
-* `flake` -
+* `url` -
flake reference, e.g. the absolute path of a directory containing a
`flake.nix`. Its lock file is used as is; populating fails if the lock
file needs to be updated.
@@ -416,7 +416,7 @@ without network access.
Supported attributes:
-* `flake` -
+* `url` -
flake reference of the flake whose input gets delivered, e.g. the absolute
path of a directory containing a `flake.nix`. Its lock file is used as is;
populating fails if the lock file needs to be updated.
@@ -447,7 +447,7 @@ Example:
```nix
{
nixpkgs.flake-input = {
- flake = toString ./.;
+ url = toString ./.;
name = "nixpkgs";
};
}
@@ -551,11 +551,11 @@ like `NIX_PATH` does for Nix expressions.
```nix
{
nixpkgs.flake-input = {
- flake = toString ./.;
+ url = toString ./.;
name = "nixpkgs";
};
crate2nix.flake = {
- flake = "github:nix-community/crate2nix";
+ url = "github:nix-community/crate2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
myconf.file = {