Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { pkgs |
| 2 | , username |
Skyler Grey | c108348 | 2023-01-25 21:32:14 +0000 | [diff] [blame] | 3 | , nix-index-database |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 4 | , ... |
Skyler Grey | e4be5df | 2022-09-02 00:03:36 +0100 | [diff] [blame] | 5 | }: { |
Skyler Grey | c108348 | 2023-01-25 21:32:14 +0000 | [diff] [blame] | 6 | home.imports = [ nix-index-database.hmModules.nix-index ]; |
| 7 | |
| 8 | home.programs = { |
| 9 | nix-index = { |
| 10 | enable = true; |
| 11 | enableZshIntegration = true; |
| 12 | }; |
| 13 | command-not-found.enable = false; |
Skyler Grey | 1bbb0d6 | 2022-10-30 23:02:10 +0000 | [diff] [blame] | 14 | }; |
Skyler Grey | e4be5df | 2022-09-02 00:03:36 +0100 | [diff] [blame] | 15 | |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 16 | config.environment.persistence."/nix/persist".users.${username}.directories = [ ".cache/nix-index" ]; |
Skyler Grey | e4be5df | 2022-09-02 00:03:36 +0100 | [diff] [blame] | 17 | } |