feat: configure comma with nix index

This commit is contained in:
Jet Pham 2026-02-26 19:12:49 -08:00
parent 3becde9260
commit 49ee6c3ac4
No known key found for this signature in database
3 changed files with 34 additions and 7 deletions

View file

@ -284,9 +284,10 @@
docker
docker-compose
nh
comma
];
programs.nix-index-database.comma.enable = true;
environment.variables.EDITOR = "helix";
environment.sessionVariables = {
TERMINAL = "kitty";

33
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1772060133,
"narHash": "sha256-VuyRptb8v1lVGMlLp4/1vRX3Efwec0CN0S6mKmDPzLg=",
"lastModified": 1772161633,
"narHash": "sha256-1LxK/Ff6sPf6fWZeV9VjHeA+hRLQssO3CjuHBvGDhW8=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "ce9b6e52500a0ea0ec48f0bbf6d7a3e431d9dfa4",
"rev": "31ea32fa1465568e95ea1288ea1dd02689c77c5e",
"type": "github"
},
"original": {
@ -41,6 +41,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1771734689,
"narHash": "sha256-/phvMgr1yutyAMjKnZlxkVplzxHiz60i4rc+gKzpwhg=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "8f590b832326ab9699444f3a48240595954a4b10",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1771969195,
@ -75,6 +95,7 @@
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-index-database": "nix-index-database",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"zen-browser": "zen-browser"
@ -88,11 +109,11 @@
]
},
"locked": {
"lastModified": 1772085492,
"narHash": "sha256-1o9qkvOI/ThFDgEbW4Q4GVK7aV+traAIWSqP7gom7/0=",
"lastModified": 1772158021,
"narHash": "sha256-UX/mZlmDYccOVGDIEFVvXkHRSjjSkOnYO/F4O6XDrKg=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "6577a70551b52ef35138e5d8b87a35d40b14eeeb",
"rev": "0af6863a54e1468ce1ef34bf0bbd073aed5a8b2e",
"type": "github"
},
"original": {

View file

@ -10,6 +10,10 @@
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = inputs@{
@ -27,6 +31,7 @@
./configuration.nix
nixos-hardware.nixosModules.framework-amd-ai-300-series
home-manager.nixosModules.home-manager
inputs.nix-index-database.nixosModules.default
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;