examples/flake.nix: add inputs.nixpkgs
To make this template look more like a regular system flake.
This commit is contained in:
parent
89ea349312
commit
742fd8fdd0
|
@ -101,4 +101,5 @@ It's easiest to use an existing service as a template:
|
|||
- [flake.nix](../flake.nix): update `nixpkgs.url`
|
||||
- [cirrus.yml](../.cirrus.yml): update toplevel container -> image attribute
|
||||
- [examples/configuration.nix](../examples/configuration.nix): update `system.stateVersion`
|
||||
- [examples/flakes/flake.nix](../examples/flakes/flake.nix): update `inputs.nix-bitcoin.url`
|
||||
- Treewide: check if any `TODO-EXTERNAL` comments can be resolved
|
||||
|
|
|
@ -12,9 +12,12 @@
|
|||
# You can also use a version branch to track a specific NixOS release
|
||||
# inputs.nix-bitcoin.url = "github:fort-nix/nix-bitcoin/nixos-23.05";
|
||||
|
||||
outputs = { self, nix-bitcoin }: {
|
||||
inputs.nixpkgs.follows = "nix-bitcoin/nixpkgs";
|
||||
inputs.nixpkgs-unstable.follows = "nix-bitcoin/nixpkgs-unstable";
|
||||
|
||||
nixosConfigurations.mynode = nix-bitcoin.inputs.nixpkgs.lib.nixosSystem {
|
||||
outputs = { self, nixpkgs, nix-bitcoin, ... }: {
|
||||
|
||||
nixosConfigurations.mynode = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
nix-bitcoin.nixosModules.default
|
||||
|
|
Loading…
Reference in New Issue
Block a user