summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorquentin@aristote.fr <quentin@aristote.fr>2023-09-16 18:12:59 +0200
committerquentin@aristote.fr <quentin@aristote.fr>2023-09-16 22:48:40 +0200
commit7cbe29e8647e9b14c400af9bbf2b45b79b5f2f1c (patch)
tree3c374b36313d54af99c3662cc8adc4451beee1d0 /templates
parentad875ddb0dc561d37a4ca784827e104371737776 (diff)
modules: devenv: improve method to auto-import module in all shells
Diffstat (limited to 'templates')
-rw-r--r--templates/devenv/flake-parts/flake.nix8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/devenv/flake-parts/flake.nix b/templates/devenv/flake-parts/flake.nix
index 8708556..deca3e5 100644
--- a/templates/devenv/flake-parts/flake.nix
+++ b/templates/devenv/flake-parts/flake.nix
@@ -16,16 +16,10 @@
...
} @ inputs:
flake-parts.lib.mkFlake {inherit inputs;} {
- imports = [
- inputs.devenv.flakeModule
- ];
- systems = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
+ imports = with my-nixpkgs.flakeModules; [personal devenv];
perSystem = {...}: {
devenv.shells.default = {
- imports = [my-nixpkgs.devenvModules.personal];
-
######################## PUT YOUR CONFIG HERE ########################
- # for this flake
languages.nix.enable = true;
};
};