refactor(home): add zoxide, nix-index and ripgrep to home module
This commit is contained in:
parent
14881201ac
commit
08124bfb91
2 changed files with 9 additions and 11 deletions
|
@ -12,7 +12,13 @@
|
|||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
zoxide.enable = true;
|
||||
nix-index.enable = true;
|
||||
nix-index-database.comma.enable = true;
|
||||
};
|
||||
persistDirs = [
|
||||
".local/share/zoxide"
|
||||
];
|
||||
home = {
|
||||
shellAliases = {
|
||||
windows = "systemctl reboot --boot-loader-entry=auto-windows";
|
||||
|
@ -22,6 +28,7 @@
|
|||
ai = "aichat -r %shell% -e";
|
||||
};
|
||||
packages = with pkgs; [
|
||||
ripgrep
|
||||
aichat
|
||||
devenv
|
||||
pantheon.rebuild
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
inherit (lib) mkOption;
|
||||
inherit (lib.types) listOf str;
|
||||
|
@ -27,13 +22,9 @@ in
|
|||
persistDirs = [
|
||||
".ssh"
|
||||
".config/sops/age"
|
||||
".local/share/zoxide"
|
||||
];
|
||||
home.packages = with pkgs; [ ripgrep ];
|
||||
|
||||
programs = {
|
||||
zoxide.enable = true;
|
||||
nix-index.enable = true;
|
||||
nix-index-database.comma.enable = true;
|
||||
ssh = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue