Common: enable and configure comma

This commit is contained in:
Toast 2023-08-31 13:09:52 +02:00
parent c85c03a55e
commit efafd187d9
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
# Use nix-index-database's comma wrapper
programs.nix-index-database.comma.enable = true;
# Run programs from the system's nixpkgs
environment.variables = { COMMA_NIXPKGS_FLAKE="system"; };
}

View file

@ -7,6 +7,7 @@
./micro.nix ./micro.nix
./nix-index.nix ./nix-index.nix
./command-not-found.nix ./command-not-found.nix
./comma.nix
]; ];
# Some programs dont have a programs.*.enable option, so I install their package here # Some programs dont have a programs.*.enable option, so I install their package here
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [