diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-09-16 18:12:59 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-09-16 22:48:40 +0200 |
| commit | 7cbe29e8647e9b14c400af9bbf2b45b79b5f2f1c (patch) | |
| tree | 3c374b36313d54af99c3662cc8adc4451beee1d0 /templates/devenv | |
| parent | ad875ddb0dc561d37a4ca784827e104371737776 (diff) | |
modules: devenv: improve method to auto-import module in all shells
Diffstat (limited to 'templates/devenv')
| -rw-r--r-- | templates/devenv/flake-parts/flake.nix | 8 |
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; }; }; |
