feat: massive refactoring...
This commit is contained in:
14
containers/default.nix
Normal file
14
containers/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
lib = pkgs.lib;
|
||||
|
||||
containersFiles = builtins.readDir ./.;
|
||||
containers = lib.filter (v: v != null) (
|
||||
(lib.mapAttrsToList (
|
||||
name: type:
|
||||
if type == "regular" && name != "default.nix" && lib.hasSuffix ".nix" name then ./${name} else null
|
||||
))
|
||||
containersFiles
|
||||
);
|
||||
in
|
||||
containers
|
||||
Reference in New Issue
Block a user