From d995c5e4ff5accf5e862d091ce3629c83247e170 Mon Sep 17 00:00:00 2001 From: Victor Date: Wed, 3 Nov 2021 00:52:39 +0100 Subject: [PATCH] Minor changes --- common/users/default.nix | 8 ++++++-- flake.lock | 6 +++--- hosts/nginx/configuration.nix | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/common/users/default.nix b/common/users/default.nix index 4514f13..8f7f6f1 100644 --- a/common/users/default.nix +++ b/common/users/default.nix @@ -21,9 +21,13 @@ # otherwise it'll override the grml prompt promptInit = ""; }; - + environment.pathsToLink = [ "/share/zsh" ]; + # Install Neovim and set it as alias for vi(m) + programs.neovim.enable = true; + programs.neovim.viAlias = true; + # Disable sudo prompt for `wheel` users. security.sudo.wheelNeedsPassword = false; @@ -55,5 +59,5 @@ }; # Setup packages available everywhere - environment.systemPackages = with pkgs; [ fzf git htop rsync ripgrep vim zoxide ]; + environment.systemPackages = with pkgs; [ fzf git htop rsync ripgrep zoxide ]; } diff --git a/flake.lock b/flake.lock index a7ba9f0..915caae 100644 --- a/flake.lock +++ b/flake.lock @@ -54,11 +54,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1635587056, - "narHash": "sha256-2RzriuQ8OEvY+wRUTpCgIiNNuFukKa7CiEAA0b2gsew=", + "lastModified": 1635835164, + "narHash": "sha256-E8MI6D+uX5O7MJwfEa+MZb7L9tonbbn4VZDkqkLZeQc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e49cd51ebcbb916e2481555aad8d9548807e9d12", + "rev": "94d91a448b87a70204485bd768977c07575911e8", "type": "github" }, "original": { diff --git a/hosts/nginx/configuration.nix b/hosts/nginx/configuration.nix index 85f0630..56edd74 100644 --- a/hosts/nginx/configuration.nix +++ b/hosts/nginx/configuration.nix @@ -49,6 +49,7 @@ in { }; # Kubernetes endpoints + virtualHosts."0x76.dev" = k8s_proxy; virtualHosts."zookeeper.0x76.dev" = k8s_proxy; virtualHosts."wooloofan.club" = k8s_proxy; virtualHosts."whoami.wooloofan.club" = k8s_proxy;