main @ 23 LINES
[ HISTORY ] [ UP ]
┌─ NIX ──────────────────────────────────────────────────────────────────────┐
│ { │
│ lib, │
│ osConfig, │
│ inputs, │
│ ... │
│ }: let │
│ inherit (lib) mkIf; │
│ cfg = osConfig.ooknet.console.tools.nixIndex; │
│ in { │
│ imports = [inputs.nix-index-db.homeModules.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"; │
│ }; │
│ } │
└────────────────────────────────────────────────────────────────────────────────────┘
┌─ NIX ────────────────────────────────┐
│ { │
│ lib, │
│ osConfig, │
│ inputs, │
│ ... │
│ }: let │
│ inherit (lib) mkIf; │
│ cfg = osConfig.ooknet.console.tools.nixInd │
│ ex; │
│ in { │
│ imports = [inputs.nix-index-db.homeModules │
│ .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" │
│ ; │
│ }; │
│ } │
└──────────────────────────────────────────────┘
──────────────────────────────────────────────────────────────────────────────────────
OOKNET
────────────────────────────────────────────────
OOKNET