nixos/home/modules/default.nix

22 lines
640 B
Nix
Raw Normal View History

2024-05-29 21:54:42 -07:00
{ lib, ... }:
2024-05-29 23:34:10 -07:00
2024-07-09 03:04:23 -07:00
let
dirEntries = builtins.removeAttrs (builtins.readDir ./.) [ "default.nix" ];
moduleEntries = lib.attrsets.filterAttrs (n: v: v == "regular") dirEntries;
moduleNames = builtins.attrNames moduleEntries;
2024-07-09 02:57:38 -07:00
2024-07-09 03:04:23 -07:00
modulePaths = builtins.map (name: ./${name}) moduleNames;
2024-07-09 02:57:38 -07:00
in
2024-05-29 20:42:31 -07:00
{
2024-07-09 02:57:38 -07:00
imports = modulePaths;
2024-05-29 21:54:42 -07:00
2024-06-28 08:27:44 -07:00
nixpkgs.config.allowUnfree = true;
2024-05-30 17:15:40 -07:00
snowhawk.user.enable = lib.mkDefault true;
2024-05-30 14:01:29 -07:00
snowhawk.tmux.enable = lib.mkDefault true;
2024-05-29 21:54:42 -07:00
snowhawk.fish.enable = lib.mkDefault true;
2024-05-29 21:59:06 -07:00
snowhawk.git.enable = lib.mkDefault true;
2024-07-08 00:54:45 -07:00
snowhawk.lazygit.enable = lib.mkDefault true;
2024-06-27 23:23:02 -07:00
snowhawk.defaultPrograms.enable = lib.mkDefault true;
2024-05-29 20:42:31 -07:00
}