refactor: new directory structure where the flake module lives in a directory with the template in a subdirectory
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
outputs = {flake-parts, ...} @ inputs:
|
outputs = {flake-parts, ...} @ inputs:
|
||||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||||
imports = [
|
imports = [
|
||||||
./rust.nix
|
./rust
|
||||||
];
|
];
|
||||||
|
|
||||||
systems = ["aarch64-linux" "x86_64-linux" "aarch64-darwin" "x86_64-darwin"];
|
systems = ["aarch64-linux" "x86_64-linux" "aarch64-darwin" "x86_64-darwin"];
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
flake = {
|
flake = {
|
||||||
templates = {
|
templates = {
|
||||||
rust = {
|
rust = {
|
||||||
path = ./rust;
|
path = ./template;
|
||||||
description = "A rust flake with crane and templates for command args and configs";
|
description = "A rust flake with crane and templates for command args and configs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user