From fa12708d3f6a419d054fbda0f5685f7c4092c8b5 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 24 Apr 2022 02:23:55 +0000 Subject: [PATCH] wsl shell fixups Signed-off-by: Xe Iaso --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index dcd5152..6884ee1 100644 --- a/flake.nix +++ b/flake.nix @@ -55,8 +55,8 @@ home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; + nixpkgs.overlays = [ emacs-overlay.overlay ]; }) - ({ config, ... }: { nixpkgs.overlays = [ emacs-overlay.overlay ]; }) ./common printerfacts.nixosModules.${system}.printerfacts @@ -88,6 +88,8 @@ nixpkgs.overlays = [ emacs-overlay.overlay ]; networking.hostName = "xatci"; + networking.nameservers = [ "100.100.100.100" ]; + networking.search = [ "shark-harmonic.ts.net" ]; wsl = { enable = true; @@ -138,6 +140,8 @@ }; services.emacs.enable = lib.mkForce false; + programs.direnv.enable = true; + programs.direnv.nix-direnv.enable = true; programs.git = { package = pkgs.gitAndTools.gitFull;