diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-19 10:46:22 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2023-01-19 10:46:22 +0100 |
commit | aa54fe89b98d354d21141c589332ce7950ef2e59 (patch) | |
tree | 758e1b878885e8edff975f6fe5371b22b04fec0c | |
parent | 0cb7c094c80f2ae806b8676efc28c0c02c17105e (diff) | |
download | nixos-aa54fe89b98d354d21141c589332ce7950ef2e59.tar nixos-aa54fe89b98d354d21141c589332ce7950ef2e59.tar.gz nixos-aa54fe89b98d354d21141c589332ce7950ef2e59.tar.bz2 nixos-aa54fe89b98d354d21141c589332ce7950ef2e59.tar.xz nixos-aa54fe89b98d354d21141c589332ce7950ef2e59.zip |
...
-rw-r--r-- | accounts/gkleen@sif/default.nix | 6 | ||||
-rw-r--r-- | flake.lock | 22 | ||||
-rw-r--r-- | flake.nix | 9 |
3 files changed, 35 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 0c1cc72f..efbf3edb 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -64,6 +64,10 @@ in { | |||
64 | }; | 64 | }; |
65 | 65 | ||
66 | home-manager.users.${userName} = { | 66 | home-manager.users.${userName} = { |
67 | imports = [ | ||
68 | flakeInputs.nix-index-database.hmModules.nix-index | ||
69 | ]; | ||
70 | |||
67 | home.stateVersion = "20.09"; | 71 | home.stateVersion = "20.09"; |
68 | 72 | ||
69 | nixpkgs.config = { | 73 | nixpkgs.config = { |
@@ -200,8 +204,6 @@ in { | |||
200 | gitProtocol = "ssh"; | 204 | gitProtocol = "ssh"; |
201 | }; | 205 | }; |
202 | }; | 206 | }; |
203 | |||
204 | nix-index.enable = true; | ||
205 | }; | 207 | }; |
206 | 208 | ||
207 | services = { | 209 | services = { |
@@ -131,6 +131,27 @@ | |||
131 | "type": "github" | 131 | "type": "github" |
132 | } | 132 | } |
133 | }, | 133 | }, |
134 | "nix-index-database": { | ||
135 | "inputs": { | ||
136 | "nixpkgs": [ | ||
137 | "nixpkgs" | ||
138 | ] | ||
139 | }, | ||
140 | "locked": { | ||
141 | "lastModified": 1673752441, | ||
142 | "narHash": "sha256-/g4ImZWV05CrXRWTSJsda6ztIp7LAPxs2L6RCrbQ66U=", | ||
143 | "owner": "Mic92", | ||
144 | "repo": "nix-index-database", | ||
145 | "rev": "391180f77505c1c8cdd45fe1a59dc89d3e40300a", | ||
146 | "type": "github" | ||
147 | }, | ||
148 | "original": { | ||
149 | "owner": "Mic92", | ||
150 | "ref": "main", | ||
151 | "repo": "nix-index-database", | ||
152 | "type": "github" | ||
153 | } | ||
154 | }, | ||
134 | "nixpkgs": { | 155 | "nixpkgs": { |
135 | "locked": { | 156 | "locked": { |
136 | "lastModified": 1673640581, | 157 | "lastModified": 1673640581, |
@@ -227,6 +248,7 @@ | |||
227 | "home-manager": "home-manager", | 248 | "home-manager": "home-manager", |
228 | "leapseconds": "leapseconds", | 249 | "leapseconds": "leapseconds", |
229 | "mach-nix": "mach-nix", | 250 | "mach-nix": "mach-nix", |
251 | "nix-index-database": "nix-index-database", | ||
230 | "nixpkgs": "nixpkgs", | 252 | "nixpkgs": "nixpkgs", |
231 | "nixpkgs-stable": "nixpkgs-stable", | 253 | "nixpkgs-stable": "nixpkgs-stable", |
232 | "nvfetcher": "nvfetcher", | 254 | "nvfetcher": "nvfetcher", |
@@ -60,6 +60,15 @@ | |||
60 | ref = "master"; | 60 | ref = "master"; |
61 | flake = false; | 61 | flake = false; |
62 | }; | 62 | }; |
63 | nix-index-database = { | ||
64 | type = "github"; | ||
65 | owner = "Mic92"; | ||
66 | repo = "nix-index-database"; | ||
67 | ref = "main"; | ||
68 | inputs = { | ||
69 | nixpkgs.follows = "nixpkgs"; | ||
70 | }; | ||
71 | }; | ||
63 | 72 | ||
64 | pypi-deps-db = { | 73 | pypi-deps-db = { |
65 | url = "github:DavHau/pypi-deps-db"; | 74 | url = "github:DavHau/pypi-deps-db"; |