Update greatyamada config
This commit is contained in:
parent
5c4921895e
commit
97bf3bb177
22 changed files with 556 additions and 212 deletions
|
@ -40,7 +40,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
X11Forwarding = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
|
||||
sops = {
|
||||
secrets.avery_password = {
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue