diff options
| author | 2026-09-21 12:27:01 +0200 | |
|---|---|---|
| committer | 2026-09-21 12:27:01 +0200 | |
| commit | db86c80a9931074c574c88a0a7ea5339c06b34f5 (patch) | |
| tree | bcc1496ca6b41b08f395df248230276e50dfb37b /users/tom.nix | |
| parent | f8e84b1e18d39632ead22b7c45fe4e97691bed29 (diff) | |
| download | desktop-flake-db86c80a9931074c574c88a0a7ea5339c06b34f5.tar.gz desktop-flake-db86c80a9931074c574c88a0a7ea5339c06b34f5.tar.bz2 desktop-flake-db86c80a9931074c574c88a0a7ea5339c06b34f5.zip | |
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn
Diffstat (limited to 'users/tom.nix')
| -rw-r--r-- | users/tom.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 3 | imports = [ ../modules/home ]; | 3 | imports = [ ../modules/home ]; |
| 4 | 4 | ||
| 5 | home.username = "tom"; | 5 | home.username = "tom"; |
| 6 | home.homeDirectory = if pkgs.stdenv.isDarwin then "/Users/tom" else "/home/tom"; | 6 | home.homeDirectory = if pkgs.stdenv.hostPlatform.isDarwin then "/Users/tom" else "/home/tom"; |
| 7 | 7 | ||
| 8 | # Set once at first install/activation; never bump retroactively. | 8 | # Set once at first install/activation; never bump retroactively. |
| 9 | home.stateVersion = "24.05"; | 9 | home.stateVersion = "24.05"; |
