nixos/modules/default.nix

20 lines
600 B
Nix
Raw Permalink Normal View History

2024-06-29 01:38:03 +00:00
{ lib, ... }:
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-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-10-06 14:08:00 +00:00
snowhawk.network.enable = lib.mkDefault true;
snowhawk.sops.enable = lib.mkDefault true;
2024-09-17 10:54:00 +00:00
snowhawk.power-button.enable = lib.mkDefault true;
}