From 339f3fdc334eeb438da004bd86c95055c6560a2d Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Sat, 21 Mar 2026 15:39:07 +0100 Subject: [PATCH] Home/Darwinix: Set environment variables --- home/christoph/darwinix/default.nix | 7 +++++++ system/darwinix/default.nix | 7 +++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/home/christoph/darwinix/default.nix b/home/christoph/darwinix/default.nix index db60d50d..a19f0b2b 100644 --- a/home/christoph/darwinix/default.nix +++ b/home/christoph/darwinix/default.nix @@ -55,6 +55,13 @@ homeDirectory = "/Users/${config.home.username}"; enableNixpkgsReleaseCheck = true; + sessionVariables = { + LANG = "en_US.UTF-8"; + EDITOR = "nvim"; + MANPAGER = "nvim +Man!"; + TERMINAL = "kitty"; + }; + packages = with pkgs; [ (ripgrep.override {withPCRE2 = true;}) gdu diff --git a/system/darwinix/default.nix b/system/darwinix/default.nix index 81f24f29..3d83b943 100644 --- a/system/darwinix/default.nix +++ b/system/darwinix/default.nix @@ -34,7 +34,7 @@ }; networking = { - hostname = "${hostname}"; + hostName = "${hostname}"; localHostName = "${hostname}"; computerName = "${hostname}"; @@ -72,8 +72,11 @@ # dock = {}; trackpad = { - ActuateDetents = true; + ActuateDetents = true; # Haptic feedback ActuationStrength = 1; + Clicking = true; # Tap to click + Dragging = true; # Double tap to drag + TrackpadRightClick = true; }; };