Skip to content

Commit

Permalink
[wip] Add comma
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Oct 10, 2023
1 parent c6f9efa commit 3326a24
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
21 changes: 21 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};

nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};

base16.url = "github:SenchoPens/base16.nix";

base16-schemes = {
Expand Down
19 changes: 19 additions & 0 deletions modules/home-manager/terminal_environment/comma.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
inputs,
...
}: {
imports = [
inputs.nix-index-database.hmModules.nix-index
];

programs.nix-index-database.comma.enable = true;

programs.nix-index = {
enableZshIntegration = false;
enableBashIntegration = false;
};

home.sessionVariables = {
COMMA_PICKER = "fzf";
};
}
1 change: 1 addition & 0 deletions modules/home-manager/terminal_environment/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
../base.nix

./base.nix
./comma.nix
./direnv.nix
./fzf.nix
./git.nix
Expand Down

0 comments on commit 3326a24

Please sign in to comment.