mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: enable docker
This commit is contained in:
parent
105e72699b
commit
5d19ec3c75
2 changed files with 30 additions and 11 deletions
7
modules/core/docker.nix
Normal file
7
modules/core/docker.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
enableOnBoot = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
# Make Vi mode transitions faster (in hundredths of a second)
|
# Make Vi mode transitions faster (in hundredths of a second)
|
||||||
# KEYTIMEOUT = 1;
|
# KEYTIMEOUT = 1;
|
||||||
LANG = "en_US.UTF-8";
|
LANG = "en_US.UTF-8";
|
||||||
|
EDITOR = "nvim";
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#808080";
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE = "fg=#808080";
|
||||||
ZSH_AUTOSUGGEST_USE_ASYNC = 1;
|
ZSH_AUTOSUGGEST_USE_ASYNC = 1;
|
||||||
HISTSIZE = 100000;
|
HISTSIZE = 100000;
|
||||||
|
|
@ -92,10 +93,31 @@
|
||||||
bindkey -M menuselect 'h' vi-backward-char
|
bindkey -M menuselect 'h' vi-backward-char
|
||||||
bindkey -M menuselect 'k' vi-up-line-or-history
|
bindkey -M menuselect 'k' vi-up-line-or-history
|
||||||
bindkey -M menuselect 'j' vi-down-line-or-history
|
bindkey -M menuselect 'j' vi-down-line-or-history
|
||||||
bindkey -M menuselect 'l' vi-forward-char
|
bindkey -M menuselect 'l' Vi-forward-char
|
||||||
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
zsh-abbr = {
|
||||||
|
enable = true;
|
||||||
|
abbreviations = {
|
||||||
|
mkdir="mkdir -p";
|
||||||
|
vim="nvim";
|
||||||
|
v="nvim";
|
||||||
|
vi="nvim";
|
||||||
|
nv="nvim";
|
||||||
|
nvi="nvim";
|
||||||
|
gc="git clone";
|
||||||
|
ga="git add .";
|
||||||
|
gcm="git commit -m";
|
||||||
|
gph="git push -u origin main";
|
||||||
|
g="git";
|
||||||
|
|
||||||
|
calc="eva";
|
||||||
|
wikipedia="wikit";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# setOptions = [
|
# setOptions = [
|
||||||
# # Corrections
|
# # Corrections
|
||||||
# "CORRECT"
|
# "CORRECT"
|
||||||
|
|
@ -149,16 +171,6 @@
|
||||||
};
|
};
|
||||||
file = "zsh-syntax-highlighting.zsh";
|
file = "zsh-syntax-highlighting.zsh";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
name = "zsh-abbr";
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "olets";
|
|
||||||
repo = "zsh-abbr";
|
|
||||||
rev = "752e9fcc4daff680545c30f8f857913d66f6f5e6";
|
|
||||||
sha256 = "sha256-HY/F43fpWn1PBYb2c+qp0CyF3hpSFHUZdZLZRS1d9Yc=";
|
|
||||||
};
|
|
||||||
file = "zsh-abbr.sh";
|
|
||||||
}
|
|
||||||
{
|
{
|
||||||
name = "zsh-autopair";
|
name = "zsh-autopair";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue