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;
|
enable = true;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
};
|
};
|
||||||
|
zoxide.enable = true;
|
||||||
|
nix-index.enable = true;
|
||||||
|
nix-index-database.comma.enable = true;
|
||||||
};
|
};
|
||||||
|
persistDirs = [
|
||||||
|
".local/share/zoxide"
|
||||||
|
];
|
||||||
home = {
|
home = {
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
windows = "systemctl reboot --boot-loader-entry=auto-windows";
|
windows = "systemctl reboot --boot-loader-entry=auto-windows";
|
||||||
|
@ -22,6 +28,7 @@
|
||||||
ai = "aichat -r %shell% -e";
|
ai = "aichat -r %shell% -e";
|
||||||
};
|
};
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
ripgrep
|
||||||
aichat
|
aichat
|
||||||
devenv
|
devenv
|
||||||
pantheon.rebuild
|
pantheon.rebuild
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{ config, lib, ... }:
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption;
|
inherit (lib) mkOption;
|
||||||
inherit (lib.types) listOf str;
|
inherit (lib.types) listOf str;
|
||||||
|
@ -27,13 +22,9 @@ in
|
||||||
persistDirs = [
|
persistDirs = [
|
||||||
".ssh"
|
".ssh"
|
||||||
".config/sops/age"
|
".config/sops/age"
|
||||||
".local/share/zoxide"
|
|
||||||
];
|
];
|
||||||
home.packages = with pkgs; [ ripgrep ];
|
|
||||||
programs = {
|
programs = {
|
||||||
zoxide.enable = true;
|
|
||||||
nix-index.enable = true;
|
|
||||||
nix-index-database.comma.enable = true;
|
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue