summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-07-30 19:30:51 -0400
committerseth <[email protected]>2023-07-30 19:30:51 -0400
commit21aa6d4428dd8fd12573616dea2138f9d132b404 (patch)
tree71548aaabddb193f62c9867a02e923f9e2a797eb
parent7705d685bf504ff84568df6630c5b361c0d9d4f9 (diff)
users/seth: add nix-index-database + comma
-rw-r--r--flake.lock21
-rw-r--r--flake.nix5
-rw-r--r--users/default.nix5
-rw-r--r--users/seth/default.nix2
-rw-r--r--users/seth/programs/default.nix5
5 files changed, 36 insertions, 2 deletions
diff --git a/flake.lock b/flake.lock
index dcef21e..00e37b7 100644
--- a/flake.lock
+++ b/flake.lock
@@ -282,6 +282,26 @@
"type": "github"
}
},
+ "nix-index-database": {
+ "inputs": {
+ "nixpkgs": [
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1690687539,
+ "narHash": "sha256-Lnwz9XKtshm+5OeWqCbj/3tKuKK+DL5tUTdKSRrKBlY=",
+ "owner": "nix-community",
+ "repo": "nix-index-database",
+ "rev": "d74b8171153ae35d7d323a9b1ad6c4cf7a995591",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nix-index-database",
+ "type": "github"
+ }
+ },
"nixinate": {
"inputs": {
"nixpkgs": [
@@ -504,6 +524,7 @@
"guzzle_api": "guzzle_api",
"home-manager": "home-manager",
"lanzaboote": "lanzaboote",
+ "nix-index-database": "nix-index-database",
"nixinate": "nixinate",
"nixos-hardware": "nixos-hardware",
"nixos-wsl": "nixos-wsl",
diff --git a/flake.nix b/flake.nix
index 2f46eac..a5cb141 100644
--- a/flake.nix
+++ b/flake.nix
@@ -68,6 +68,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
+ nix-index-database = {
+ url = "github:nix-community/nix-index-database";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+
nixos-wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
diff --git a/users/default.nix b/users/default.nix
index 1f4f216..45cfc44 100644
--- a/users/default.nix
+++ b/users/default.nix
@@ -14,7 +14,10 @@
inherit system;
overlays = with inputs; [nur.overlay getchoo.overlays.default];
};
- modules = [{_module.args.osConfig = {};}];
+ modules = [
+ {_module.args.osConfig = {};}
+ inputs.nix-index-database.hmModules.nix-index
+ ];
};
};
diff --git a/users/seth/default.nix b/users/seth/default.nix
index 8a2cfa7..3ea6771 100644
--- a/users/seth/default.nix
+++ b/users/seth/default.nix
@@ -2,6 +2,7 @@
config,
lib,
pkgs,
+ nix-index-database,
...
}: {
users.users.seth = let
@@ -29,6 +30,7 @@
imports = [
./home.nix
./desktop
+ nix-index-database.hmModules.nix-index
];
nixpkgs.overlays = config.nixpkgs.overlays;
diff --git a/users/seth/programs/default.nix b/users/seth/programs/default.nix
index 7dec9d3..1a13160 100644
--- a/users/seth/programs/default.nix
+++ b/users/seth/programs/default.nix
@@ -8,7 +8,6 @@
];
home.packages = with pkgs; [
- btop
fd
gh
nix-your-shell
@@ -19,12 +18,16 @@
];
programs = {
+ btop.enable = true;
+
direnv = {
enable = true;
nix-direnv = {
enable = true;
};
};
+
+ nix-index-database.comma.enable = true;
};
xdg = {