Added DAP and created dedicated configuration for Rust

This commit is contained in:
Fred Drake
2024-10-01 00:07:49 -04:00
parent 3ceedb1f26
commit 32d294cd9e
8 changed files with 285 additions and 23 deletions
+16
View File
@@ -0,0 +1,16 @@
let
# Read all files in the current directory
files = builtins.readDir ./.;
# Filter out default.nix and non-.nix files
nixFiles = builtins.filter
(name: name != "default.nix" && builtins.match ".*\\.nix" name != null)
(builtins.attrNames files);
# Create a list of import statements
imports = map (name: ./. + "/${name}") nixFiles;
in {
# Import all configuration modules automatically
imports = imports;
}