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