From 39798a78255c9068c49edcb792ef0701f60ca8f7 Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 22 Jan 2026 13:57:08 +0100 Subject: [PATCH] fixes activation script --- modules/macos/default.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/modules/macos/default.nix b/modules/macos/default.nix index e8a3fb6..4bd8fd7 100644 --- a/modules/macos/default.nix +++ b/modules/macos/default.nix @@ -4,19 +4,13 @@ stateVersion = 5; activationScripts.postActivation.text = '' /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u - ''; - activationScripts.installSqlit = { - enable = true; - text = '' - #!/bin/bash - if command -v sqlit &> /dev/null; then - echo "SQLit already installed." - else - uvx install --with mariadb --with PyMySQL --with sshtunnel sqlit-tui - fi - ''; - }; + if command -v sqlit &> /dev/null; then + echo "SQLit already installed." + else + uvx install --with mariadb --with PyMySQL --with sshtunnel sqlit-tui + fi + ''; defaults = { NSGlobalDomain."com.apple.swipescrolldirection" = false;