1
0
Fork 0

Update greatyamada config

This commit is contained in:
Avery 2025-06-21 15:42:06 +02:00
parent 5c4921895e
commit 97bf3bb177
Signed by: Avery
GPG key ID: B684FD451B692E04
22 changed files with 556 additions and 212 deletions

View file

@ -40,7 +40,13 @@
};
};
services.openssh.enable = true;
services.openssh = {
enable = true;
settings = {
X11Forwarding = false;
PermitRootLogin = "no";
};
};
sops = {
secrets.avery_password = {

View file

@ -1,8 +1,14 @@
{ config, ... }: {
{ config, lib, ... }: {
programs = {
zsh = {
enable = true;
initExtra = ''
initContent = lib.mkBefore ''
setopt AUTO_PUSHD
setopt SHARE_HISTORY
setopt MENUCOMPLETE
autoload -U history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
bindkey "^[OA" history-beginning-search-backward-end
bindkey "^[OB" history-beginning-search-forward-end
bindkey "^r" history-incremental-search-backward
@ -20,14 +26,6 @@
fastfetch
'';
initExtraFirst = ''
setopt AUTO_PUSHD
setopt SHARE_HISTORY
setopt MENUCOMPLETE
autoload -U history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end
'';
history.path = "${config.xdg.dataHome}/zhistory";
syntaxHighlighting.enable = true;
};