diff --git a/home/default.nix b/home/default.nix index 779acfa..b4d4655 100644 --- a/home/default.nix +++ b/home/default.nix @@ -33,7 +33,6 @@ figlet tmux w3m - #neovim wget xh minio-client diff --git a/nixos/default.nix b/nixos/default.nix index 78ec662..12fbfb9 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -49,7 +49,6 @@ bmon figlet tmux - neovim xh liboping mtr @@ -60,11 +59,22 @@ # nice prompt together with grml pure-prompt ]; + environment.shellAliases = { + ip = "ip --color"; + watch = "watch -c"; + grep = "grep --color=always --exclude-dir=.git"; + vim = "nvim"; + }; + programs.mosh.enable = true; # open firewall programs.neovim = { enable = true; defaultEditor = true; + configure.customRC = '' + syntax on + set number relativenumber + ''; }; # zsh @@ -79,11 +89,6 @@ prompt pure; ''; # promptInit = ""; - shellAliases = { - ip = "ip --color"; - watch = "watch -c"; - grep = "grep --color=always --exclude-dir=.git"; - }; }; # tmux