Initial commit

This commit is contained in:
Fred Drake
2024-09-30 11:57:07 -04:00
commit 94be99323c
14 changed files with 1367 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
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;
}