From 6561d4c979860668ec12a12b4d38886234f3b4fb 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 | 9 +++++++-- 2 files changed, 14 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..900f2566 100644 --- a/system/darwinix/default.nix +++ b/system/darwinix/default.nix @@ -34,7 +34,7 @@ }; networking = { - hostname = "${hostname}"; + hostName = "${hostname}"; localHostName = "${hostname}"; computerName = "${hostname}"; @@ -67,13 +67,18 @@ }; system = { + primaryUser = "${username}"; + # TODO: defaults = { # dock = {}; trackpad = { - ActuateDetents = true; + ActuateDetents = true; # Haptic feedback ActuationStrength = 1; + Clicking = true; # Tap to click + Dragging = true; # Double tap to drag + TrackpadRightClick = true; }; };