Common: enable and configure comma
This commit is contained in:
parent
c85c03a55e
commit
efafd187d9
2 changed files with 9 additions and 0 deletions
8
roles/common/programs/comma.nix
Normal file
8
roles/common/programs/comma.nix
Normal 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"; };
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
./micro.nix
|
||||
./nix-index.nix
|
||||
./command-not-found.nix
|
||||
./comma.nix
|
||||
];
|
||||
# Some programs dont have a programs.*.enable option, so I install their package here
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue