diff options
| author | 2026-09-21 12:27:01 +0200 | |
|---|---|---|
| committer | 2026-09-21 12:27:01 +0200 | |
| commit | db86c80a9931074c574c88a0a7ea5339c06b34f5 (patch) | |
| tree | bcc1496ca6b41b08f395df248230276e50dfb37b /modules/home/dotfiles.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 'modules/home/dotfiles.nix')
| -rw-r--r-- | modules/home/dotfiles.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/home/dotfiles.nix b/modules/home/dotfiles.nix index 21afb5e..c45c996 100644 --- a/modules/home/dotfiles.nix +++ b/modules/home/dotfiles.nix | |||
| @@ -7,8 +7,8 @@ let | |||
| 7 | # platform. Kept minimal and overridable via excludePackages rather than | 7 | # platform. Kept minimal and overridable via excludePackages rather than |
| 8 | # a full per-platform mapping - see design.md for alternatives considered. | 8 | # a full per-platform mapping - see design.md for alternatives considered. |
| 9 | platformDefaultExcludes = | 9 | platformDefaultExcludes = |
| 10 | lib.optionals (!pkgs.stdenv.isDarwin) [ "iterm2" ] | 10 | lib.optionals (!pkgs.stdenv.hostPlatform.isDarwin) [ "iterm2" ] |
| 11 | ++ lib.optionals (!pkgs.stdenv.isLinux) [ "herbstluftwm" "xorg" ]; | 11 | ++ lib.optionals (!pkgs.stdenv.hostPlatform.isLinux) [ "herbstluftwm" "xorg" ]; |
| 12 | 12 | ||
| 13 | excludePackages = platformDefaultExcludes ++ cfg.excludePackages; | 13 | excludePackages = platformDefaultExcludes ++ cfg.excludePackages; |
| 14 | in | 14 | in |
