nixos/modules/default.nix

20 lines
600 B
Nix
Raw Normal View History

2024-06-28 18:38:03 -07:00
{ lib, ... }:
2024-07-26 15:37:27 -07: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-07-26 15:37:27 -07:00
imports = modulePaths;
2024-06-28 18:38:03 -07:00
snowhawk.i18n.enable = lib.mkDefault true;
2024-06-30 01:53:21 -07:00
snowhawk.audio.enable = lib.mkDefault true;
2024-06-30 02:11:01 -07:00
snowhawk.env.enable = lib.mkDefault true;
2024-10-06 07:08:00 -07:00
snowhawk.network.enable = lib.mkDefault true;
snowhawk.sops.enable = lib.mkDefault true;
2024-09-17 03:54:00 -07:00
snowhawk.power-button.enable = lib.mkDefault true;
}