commit 3100cc8d377affced90ed38b09ea0ad2d4f399d5 (tree)
parent 85fc022070bb758c82d10d86dfb522c7f14177c9
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Wed, 8 Apr 2026 09:06:54 +0000
some ux:
Diffstat:
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/hosts/macworx/configuration.nix b/hosts/macworx/configuration.nix
@@ -58,6 +58,9 @@ in
system.activationScripts.postActivation.text = ''
osascript -e 'tell application "System Events" to tell every desktop to set picture to "${tealWallpaper}"'
+
+ # Disable screensaver
+ defaults -currentHost write com.apple.screensaver idleTime -int 0
'';
environment.systemPackages = [
diff --git a/modules/macbase/default.nix b/modules/macbase/default.nix
@@ -43,6 +43,9 @@ in
NSWindowShouldDragOnGesture = true;
};
+ screensaver.askForPassword = true;
+ screensaver.askForPasswordDelay = 0;
+
menuExtraClock.ShowSeconds = true;
# Show24Hour, ShowDate, DateFormat are ignored by macOS Tahoe;
# set manually in System Settings > Control Center > Clock Options.
diff --git a/modules/profiles/terminal/default.nix b/modules/profiles/terminal/default.nix
@@ -11,6 +11,7 @@
enableBashIntegration = true;
settings = {
theme = "iTerm2 Default";
+ window-decoration = false;
command = lib.getExe pkgs.tmuxbash;
font-feature = [
"-calt"