2024-06-29 01:38:03 +00:00
|
|
|
{ lib, ... }:
|
2024-06-03 04:32:15 +00:00
|
|
|
|
2024-07-26 22:37:27 +00:00
|
|
|
let
|
|
|
|
dirEntries = builtins.removeAttrs (builtins.readDir ./.) [ "default.nix" ];
|
|
|
|
moduleEntries = lib.attrsets.filterAttrs (n: v: v == "regular") dirEntries;
|
|
|
|
moduleNames = builtins.attrNames moduleEntries;
|
|
|
|
|
|
|
|
modulePaths = builtins.map (name: ./${name}) moduleNames;
|
|
|
|
in
|
2024-06-03 04:32:15 +00:00
|
|
|
{
|
2024-07-26 22:37:27 +00:00
|
|
|
imports = modulePaths;
|
2024-06-29 01:38:03 +00:00
|
|
|
|
|
|
|
snowhawk.i18n.enable = lib.mkDefault true;
|
2024-06-30 08:53:21 +00:00
|
|
|
snowhawk.audio.enable = lib.mkDefault true;
|
2024-06-30 09:11:01 +00:00
|
|
|
snowhawk.env.enable = lib.mkDefault true;
|
2024-07-31 04:50:08 +00:00
|
|
|
snowhawk.sops.enable = lib.mkDefault true;
|
2024-06-03 04:32:15 +00:00
|
|
|
}
|