wip(home): refactor home modules *WILL NOT BUILD*

This commit is contained in:
ooks-io 2024-06-04 21:19:35 +12:00
parent 2033810429
commit 6a591ecbf7
115 changed files with 1028 additions and 791 deletions

View file

@ -0,0 +1,21 @@
{ lib, config, inputs, ... }:
let
inherit (lib) mkIf;
cfg = config.ooknet.tools.nixIndex;
in
{
imports = [ inputs.nix-index-db.hmModules.nix-index ];
config = mkIf cfg.enable {
programs = {
nix-index = {
enable = true;
symlinkToCacheHome = true;
};
command-not-found.enable = false;
nix-index-database.comma.enable = true;
};
home.sessionVariables.NIX_AUTO_RUN = "1";
};
}