From db86c80a9931074c574c88a0a7ea5339c06b34f5 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Mon, 21 Sep 2026 12:27:01 +0200 Subject: Fix Nix evaluation deprecation warnings Replace deprecated pkgs.stdenv.isDarwin/isLinux with pkgs.stdenv.hostPlatform.isDarwin/.isLinux, and explicitly pin programs.neovim.withRuby/withPython3 = true so the legacy default doesn't silently change if home.stateVersion is ever bumped. Pure deprecation fixes, no behavior change. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn --- users/tom.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/tom.nix') diff --git a/users/tom.nix b/users/tom.nix index 08b30c3..cbbaff0 100644 --- a/users/tom.nix +++ b/users/tom.nix @@ -3,7 +3,7 @@ imports = [ ../modules/home ]; home.username = "tom"; - home.homeDirectory = if pkgs.stdenv.isDarwin then "/Users/tom" else "/home/tom"; + home.homeDirectory = if pkgs.stdenv.hostPlatform.isDarwin then "/Users/tom" else "/home/tom"; # Set once at first install/activation; never bump retroactively. home.stateVersion = "24.05"; -- cgit v1.3