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
|
./media
|
||||||
./terminal
|
./terminal
|
||||||
|
|
||||||
|
./comma.nix
|
||||||
./fastfetch.nix
|
./fastfetch.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./games.nix
|
./games.nix
|
||||||
|
|
|
@ -15,7 +15,6 @@ in {
|
||||||
unrar
|
unrar
|
||||||
|
|
||||||
# utils
|
# utils
|
||||||
comma
|
|
||||||
fd
|
fd
|
||||||
file
|
file
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
Loading…
Add table
Reference in a new issue