fix partially broken config flake reference

This commit is contained in:
Niklas Gollenstede 2023-12-01 12:29:05 +01:00
parent caab927610
commit 9e02cd5952
2 changed files with 15 additions and 10 deletions

23
flake.lock generated
View File

@ -2,14 +2,19 @@
"nodes": { "nodes": {
"config": { "config": {
"locked": { "locked": {
"lastModified": 1, "dir": "example/defaultConfig",
"narHash": "sha256-Ek4I4CCStnWElXmgg0YGTWXCfnsxKZag6rAo4FvBQsY=", "lastModified": 1701347536,
"path": "./example/defaultConfig", "narHash": "sha256-30D1yRzapUUrpCbwW+xsaz1RbTLmnfzMgJheY7PceE0=",
"type": "path" "owner": "NiklasGollenstede",
"repo": "nixos-installer",
"rev": "caab92761076ea6f24f5322ae5efc9300a648721",
"type": "github"
}, },
"original": { "original": {
"path": "./example/defaultConfig", "dir": "example/defaultConfig",
"type": "path" "owner": "NiklasGollenstede",
"repo": "nixos-installer",
"type": "github"
} }
}, },
"functions": { "functions": {
@ -34,11 +39,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1701156937, "lastModified": 1701263465,
"narHash": "sha256-jpMJOFvOTejx211D8z/gz0ErRtQPy6RXxgD2ZB86mso=", "narHash": "sha256-lNXUIlkfyDyp9Ox21hr+wsEf/IBklLvb6bYcyeXbdRc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7c4c20509c4363195841faa6c911777a134acdf3", "rev": "50aa30a13c4ab5e7ba282da460a3e3d44e9d0eb3",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -4,7 +4,7 @@
nixpkgs = { url = "github:NixOS/nixpkgs/nixos-23.11"; }; nixpkgs = { url = "github:NixOS/nixpkgs/nixos-23.11"; };
functions = { url = "github:NiklasGollenstede/nix-functions"; inputs.nixpkgs.follows = "nixpkgs"; }; functions = { url = "github:NiklasGollenstede/nix-functions"; inputs.nixpkgs.follows = "nixpkgs"; };
config.url = "path:./example/defaultConfig"; config.url = "github:NiklasGollenstede/nixos-installer?dir=example/defaultConfig"; # "path:./example/defaultConfig"; # (The latter only works on each host after using this flake directly (not as dependency or another flake). The former effectively points to the last commit, i.e. it takes two commits to apply changes to the default config.)
}; outputs = inputs@{ self, ... }: inputs.functions.lib.importRepo inputs ./. (repo@{ overlays, ... }: let }; outputs = inputs@{ self, ... }: inputs.functions.lib.importRepo inputs ./. (repo@{ overlays, ... }: let
lib = repo.lib.__internal__; lib = repo.lib.__internal__;