arrange users marisa:spark and satori:bat

Signed-off-by: natto1784 <natto@weirdnatto.in>
This commit is contained in:
2023-03-08 10:08:50 +05:30
parent 5652340dae
commit f31eb4c876
12 changed files with 90 additions and 47 deletions

View File

@@ -1,29 +1,12 @@
{ config, ... }:
{ config, lib, ... }:
let
secretPath = "${config.home.homeDirectory}/.zshenv_secret";
in
{
programs.zsh = {
enable = true;
autocd = true;
history = rec {
expireDuplicatesFirst = true;
size = 30000;
save = size;
};
enableAutosuggestions = true;
enableCompletion = true;
enableSyntaxHighlighting = true;
prezto = {
enable = true;
prompt.theme = "pure";
autosuggestions.color = "fg=yellow,bold";
};
initExtra = ''
. ${secretPath};
unsetopt extendedGlob
'';
};
programs.zsh.initExtra = lib.mkForce ''
. ${secretPath};
unsetopt extendedGlob
'';
age.secrets.zshenv_secret = {
file = ./secrets/.zshenv_secret;