Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 1 | { username, ... }: { |
Skyler Grey | 7418e82 | 2022-09-01 23:57:06 +0100 | [diff] [blame] | 2 | home.programs.zoxide = { |
| 3 | enable = true; |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 4 | options = [ "--cmd=cd" ]; |
Skyler Grey | 7418e82 | 2022-09-01 23:57:06 +0100 | [diff] [blame] | 5 | }; |
Skyler Grey | 252927a | 2022-10-18 22:18:15 +0100 | [diff] [blame] | 6 | config.environment.persistence."/nix/persist".users.${username}.directories = [ ".local/share/zoxide" ]; |
Skyler Grey | 7418e82 | 2022-09-01 23:57:06 +0100 | [diff] [blame] | 7 | # Zoxide overwrites its db file, so we can't just use .files here |
| 8 | } |