Skip to content
/ dendrix Public
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 114 additions & 54 deletions templates/default/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 36 additions & 7 deletions templates/default/flake.nix
Original file line number Diff line number Diff line change
@@ -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);
}
4 changes: 2 additions & 2 deletions templates/default/modules/default.nix
Original file line number Diff line number Diff line change
@@ -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.";
}