programs: add comma with nix-index-database

This commit is contained in:
Anthony Rodriguez 2025-02-07 23:02:01 +01:00
parent c208306c96
commit 3540b0af76
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA
3 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,14 @@
{
inputs,
lib,
config,
...
}: let
inherit (lib.modules) mkIf;
inherit (config.local.profiles) desktop;
in {
imports = [inputs.nix-index-database.nixosModules.nix-index];
config = mkIf desktop.enable {
programs.nix-index-database.comma.enable = true;
};
}

View file

@ -7,6 +7,7 @@
./media
./terminal
./comma.nix
./fastfetch.nix
./firefox.nix
./games.nix

View file

@ -15,7 +15,6 @@ in {
unrar
# utils
comma
fd
file
ripgrep