programs: add comma with nix-index-database
This commit is contained in:
parent
c208306c96
commit
3540b0af76
3 changed files with 15 additions and 1 deletions
14
modules/programs/comma.nix
Normal file
14
modules/programs/comma.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
./media
|
||||
./terminal
|
||||
|
||||
./comma.nix
|
||||
./fastfetch.nix
|
||||
./firefox.nix
|
||||
./games.nix
|
||||
|
|
|
@ -15,7 +15,6 @@ in {
|
|||
unrar
|
||||
|
||||
# utils
|
||||
comma
|
||||
fd
|
||||
file
|
||||
ripgrep
|
||||
|
|
Loading…
Add table
Reference in a new issue