diff --git a/templates/default/flake.lock b/templates/default/flake.lock index 6734417..ae404d8 100644 --- a/templates/default/flake.lock +++ b/templates/default/flake.lock @@ -1,81 +1,96 @@ { "nodes": { - "dendrix": { + "allfollow": { "inputs": { - "import-tree": "import-tree", - "nixpkgs-lib": "nixpkgs-lib" + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": [ + "rust-overlay" + ], + "systems": [ + "systems" + ] }, "locked": { - "path": "./../..", - "type": "path" + "lastModified": 1751756323, + "narHash": "sha256-yaLcnuX+N3G5YqBo8/kFSsUPhn99119Ba2K5BpqyMKY=", + "owner": "spikespaz", + "repo": "allfollow", + "rev": "2e9c241c367f1d33e069d9561d86c160276ab6a9", + "type": "github" }, "original": { - "path": "./../..", - "type": "path" - }, - "parent": [] + "owner": "spikespaz", + "repo": "allfollow", + "type": "github" + } }, - "flake-parts": { + "devshell": { "inputs": { - "nixpkgs-lib": "nixpkgs-lib_2" + "nixpkgs": [ + "nixpkgs" + ] }, "locked": { - "lastModified": 1749398372, - "narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569", + "lastModified": 1741473158, + "narHash": "sha256-kWNaq6wQUbUMlPgw8Y+9/9wP0F8SHkjy24/mN3UAppg=", + "owner": "numtide", + "repo": "devshell", + "rev": "7c9e793ebe66bcba8292989a68c0419b737a22a0", "type": "github" }, "original": { - "owner": "hercules-ci", - "repo": "flake-parts", + "owner": "numtide", + "repo": "devshell", "type": "github" } }, - "import-tree": { + "flake-file": { "locked": { - "lastModified": 1751270547, - "narHash": "sha256-crsdw+SVF+8JewH2npzM5iy2RowD3min24DqzCZX7uQ=", + "lastModified": 1751600876, + "narHash": "sha256-+frHZbR3w6FXe5/Ls41AJHJp1b0aJiUVdS/Hrrhz9Sc=", "owner": "vic", - "repo": "import-tree", - "rev": "e5a363c65db721944ec29d42c210f33f7dee9808", + "repo": "flake-file", + "rev": "d515758b175bd0dd76901c0d058a9a49038ef81e", "type": "github" }, "original": { "owner": "vic", - "repo": "import-tree", + "repo": "flake-file", "type": "github" } }, - "import-tree_2": { + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, "locked": { - "lastModified": 1751270547, - "narHash": "sha256-crsdw+SVF+8JewH2npzM5iy2RowD3min24DqzCZX7uQ=", - "owner": "vic", - "repo": "import-tree", - "rev": "e5a363c65db721944ec29d42c210f33f7dee9808", + "lastModified": 1751413152, + "narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "77826244401ea9de6e3bac47c2db46005e1f30b5", "type": "github" }, "original": { - "owner": "vic", - "repo": "import-tree", + "owner": "hercules-ci", + "repo": "flake-parts", "type": "github" } }, - "nixpkgs": { + "import-tree": { "locked": { - "lastModified": 1751251929, - "narHash": "sha256-IJWIzZSkBsDzS7iS/iwSwur+xFkWqeLYC4kdf8ObtOM=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "b95255df2360a45ddbb03817a68869d5cb01bf96", + "lastModified": 1751399845, + "narHash": "sha256-iun7//YHeEFgEOcG4KKKoy3d2GWOYqokLFVU/zIs79Y=", + "owner": "vic", + "repo": "import-tree", + "rev": "e24a50ff9b5871d4bdd8900679784812eeb120ea", "type": "github" }, "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", + "owner": "vic", + "repo": "import-tree", "type": "github" } }, @@ -94,31 +109,56 @@ "type": "github" } }, - "nixpkgs-lib_2": { + "nixpkgs_3": { "locked": { - "lastModified": 1748740939, - "narHash": "sha256-rQaysilft1aVMwF14xIdGS3sj1yHlI6oKQNBRTF40cc=", - "owner": "nix-community", - "repo": "nixpkgs.lib", - "rev": "656a64127e9d791a334452c6b6606d17539476e2", + "lastModified": 1751786137, + "narHash": "sha256-lIlUKVGCGsh0Q2EA7/6xRtKUZjaQ/ur8uUyY+MynHXQ=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "ceb24d94c6feaa4e8737a8e2bd3cf71c3a7eaaa0", "type": "github" }, "original": { - "owner": "nix-community", - "repo": "nixpkgs.lib", + "owner": "nixos", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", "type": "github" } }, "root": { "inputs": { - "dendrix": "dendrix", + "allfollow": "allfollow", + "devshell": "devshell", + "flake-file": "flake-file", "flake-parts": "flake-parts", - "import-tree": "import-tree_2", - "nixpkgs": "nixpkgs", - "systems": "systems" + "import-tree": "import-tree", + "nixpkgs": "nixpkgs_3", + "rust-overlay": "rust-overlay_2", + "systems": "systems_2", + "treefmt-nix": "treefmt-nix" + } + }, + "rust-overlay_2": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1751856221, + "narHash": "sha256-/QE1eV0ckFvgRMcKjZqgdJDoXFNwSMepwRoBjaw2MCk=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "34cae4b56929c5b340e1c5b10d9a98a425b2a51e", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" } }, - "systems": { + "systems_2": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -132,6 +172,26 @@ "repo": "default", "type": "github" } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1750931469, + "narHash": "sha256-0IEdQB1nS+uViQw4k3VGUXntjkDp7aAlqcxdewb/hAc=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "ac8e6f32e11e9c7f153823abc3ab007f2a65d3e1", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } } }, "root": "root", diff --git a/templates/default/flake.nix b/templates/default/flake.nix index 39dfa72..65bf59d 100644 --- a/templates/default/flake.nix +++ b/templates/default/flake.nix @@ -1,11 +1,40 @@ +# DO-NOT-EDIT. This file was auto-generated using github:vic/flake-file. +# Use `nix run .#write-flake` to regenerate it. { - outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules); - + description = "A dendritic setup."; inputs = { - dendrix.url = "path:./../.."; - flake-parts.url = "github:hercules-ci/flake-parts"; - import-tree.url = "github:vic/import-tree"; - systems.url = "github:nix-systems/default"; - nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; + allfollow = { + url = "github:spikespaz/allfollow"; + }; + devshell = { + url = "github:numtide/devshell"; + }; + flake-file = { + url = "github:vic/flake-file"; + }; + flake-parts = { + url = "github:hercules-ci/flake-parts"; + }; + import-tree = { + url = "github:vic/import-tree"; + }; + nixpkgs = { + url = "github:nixos/nixpkgs/nixpkgs-unstable"; + }; + rust-overlay = { + inputs = { + nixpkgs = { + follows = "nixpkgs"; + }; + }; + url = "github:oxalica/rust-overlay"; + }; + systems = { + url = "github:nix-systems/default"; + }; + treefmt-nix = { + url = "github:numtide/treefmt-nix"; + }; }; + outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules); } diff --git a/templates/default/modules/default.nix b/templates/default/modules/default.nix index 98f44cb..f3dd053 100644 --- a/templates/default/modules/default.nix +++ b/templates/default/modules/default.nix @@ -1,8 +1,8 @@ { inputs, ... }: { imports = [ - inputs.flake-parts.flakeModules.modules + inputs.flake-file.flakeModules.dendritic ]; - systems = import inputs.systems; + flake-file.description = "A dendritic setup."; }