mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-27 13:33:57 +02:00
fix(home): replace deprecated stdenv.is* with hostPlatform.is*
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# which is broken (patch fails to apply) on the current nixpkgs pin
|
||||
enable = false;
|
||||
|
||||
clipboard.providers.wl-copy.enable = pkgs.stdenv.isLinux;
|
||||
clipboard.providers.wl-copy.enable = pkgs.stdenv.hostPlatform.isLinux;
|
||||
|
||||
opts = {
|
||||
number = true;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{
|
||||
programs.foot = {
|
||||
# foot is designed only for Linux
|
||||
enable = pkgs.stdenv.isLinux;
|
||||
enable = pkgs.stdenv.hostPlatform.isLinux;
|
||||
|
||||
# foot can also be run in a server mode. In this mode, one process hosts multiple windows.
|
||||
# All Wayland communication, VT parsing and rendering is done in the server process.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
package =
|
||||
if pkgs.stdenv.isDarwin then
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||
null # installed via Homebrew cask on darwin
|
||||
else
|
||||
pkgs.ghostty;
|
||||
|
||||
Reference in New Issue
Block a user