nixos/modules/default.nix

19 lines
548 B
Nix
Raw 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;
snowhawk.sops.enable = lib.mkDefault true;
2024-08-19 13:01:24 +00:00
snowhawk.nixpkgs.enable = lib.mkDefault false;
}