treewide: replace !isDarwin with isLinux

This commit is contained in:
Guanran Wang 2024-01-21 16:51:26 +08:00
parent 653959f5b7
commit f96f61251a
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@
};
services.gpg-agent = {
enable = lib.mkIf (!pkgs.stdenv.hostPlatform.isDarwin) true;
enable = lib.mkIf pkgs.stdenv.hostPlatform.isLinux true;
pinentryFlavor = "gnome3";
};
}

View file

@ -22,7 +22,7 @@
++ (with inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.mpvScripts; [
modernx
])
++ lib.optionals (!pkgs.stdenv.hostPlatform.isDarwin) (with pkgs.mpvScripts; [
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux (with pkgs.mpvScripts; [
mpris
]);
};