From a737104a6d8b1ba61de73c61a9de59c2e8665280 Mon Sep 17 00:00:00 2001
From: teutat3s <teutates@mailbox.org>
Date: Mon, 31 Mar 2025 22:54:07 +0200
Subject: [PATCH] teutat3s: fix conditional for x86_64

---
 users/teutat3s/home.nix | 3 +--
 users/teutat3s/mnx.nix  | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/users/teutat3s/home.nix b/users/teutat3s/home.nix
index f217af1c..65997a15 100644
--- a/users/teutat3s/home.nix
+++ b/users/teutat3s/home.nix
@@ -81,8 +81,7 @@ in
           restic
           notes
         ]
-        ++ lib.optionals stdenv.hostPlatform.isLinux
-        && stdenv.hostPlatform.isx86_64 [
+        ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) [
           obs-studio
           uhk-agent
         ];
diff --git a/users/teutat3s/mnx.nix b/users/teutat3s/mnx.nix
index 3f651d76..0fcfa22a 100644
--- a/users/teutat3s/mnx.nix
+++ b/users/teutat3s/mnx.nix
@@ -51,8 +51,7 @@ in
               tmate
               jira-cli-go
             ]
-            ++ lib.optionals stdenv.hostPlatform.isLinux
-            && stdenv.hostPlatform.isx86_64 [
+            ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isx86_64) [
               zoom-us
               slack
               notion-repackaged