From 2afdb54dcb8983a0e11480bab75f8487a5790c39 Mon Sep 17 00:00:00 2001 From: mikl Date: Wed, 1 Jul 2026 13:06:39 +0300 Subject: [PATCH] fix: remove unsupported FXPreferredGroupBy --- hosts/poppy/system.nix | 153 ----------------------------------------- 1 file changed, 153 deletions(-) diff --git a/hosts/poppy/system.nix b/hosts/poppy/system.nix index 398319e..e69de29 100644 --- a/hosts/poppy/system.nix +++ b/hosts/poppy/system.nix @@ -1,153 +0,0 @@ -{ pkgs, ... }: { - system.defaults = { - NSGlobalDomain = { - AppleInterfaceStyle = "Dark"; - NSAutomaticCapitalizationEnabled = true; - NSAutomaticPeriodSubstitutionEnabled = true; - NSAutomaticQuoteSubstitutionEnabled = true; - }; - - CustomUserPreferences = { - "com.apple.HIToolbox" = { - AppleEnabledInputSources = [ - { - InputSourceKind = "Keyboard Layout"; - "KeyboardLayout ID" = 0; - "KeyboardLayout Name" = "U.S."; - } - { - "Bundle ID" = "com.apple.CharacterPaletteIM"; - InputSourceKind = "Non Keyboard Input Method"; - } - { - InputSourceKind = "Keyboard Layout"; - "KeyboardLayout ID" = 19456; - "KeyboardLayout Name" = "Russian"; - } - ]; - AppleSelectedInputSources = [ - { - InputSourceKind = "Keyboard Layout"; - "KeyboardLayout ID" = 0; - "KeyboardLayout Name" = "U.S."; - } - ]; - }; - - "com.apple.symbolichotkeys".AppleSymbolicHotKeys = { - "28" = { - enabled = 1; - value = { - type = "standard"; - parameters = [ 51 20 1441792 ]; - }; - }; - "29" = { - enabled = 1; - value = { - type = "standard"; - parameters = [ 51 20 1179648 ]; - }; - }; - "30" = { - enabled = 1; - value = { - type = "standard"; - parameters = [ 52 21 1441792 ]; - }; - }; - "31" = { - enabled = 1; - value = { - type = "standard"; - parameters = [ 52 21 1179648 ]; - }; - }; - }; - - "NSGlobalDomain" = { - "AppleMenuBarVisibleInFullscreen" = true; - }; - }; - - controlcenter = { - BatteryShowPercentage = true; - }; - - trackpad = { - # Clicking - Clicking = true; - TrackpadRightClick = true; - TrackpadThreeFingerDrag = false; - TrackpadHandResting = true; - DragLock = false; - Dragging = false; - - # Scroll - TrackpadScroll = true; - TrackpadHorizScroll = true; - TrackpadMomentumScroll = true; - - # Gestures - TrackpadPinch = true; - TrackpadRotate = true; - TrackpadThreeFingerTapGesture = 0; - TrackpadTwoFingerDoubleTapGesture = 1; - TrackpadTwoFingerFromRightEdgeSwipeGesture = 3; - TrackpadThreeFingerVertSwipeGesture = 2; - TrackpadFourFingerHorizSwipeGesture = 2; - TrackpadFourFingerVertSwipeGesture = 0; - TrackpadFourFingerPinchGesture = 2; - TrackpadFiveFingerPinchGesture = 2; - }; - - finder = { - AppleShowAllExtensions = true; - ShowPathbar = true; - ShowStatusBar = true; - FXPreferredViewStyle = "clmv"; - FXPreferredGroupBy = "Date Modified"; - NewWindowTarget = "Home"; - ShowExternalHardDrivesOnDesktop = false; - ShowHardDrivesOnDesktop = false; - FXEnableExtensionChangeWarning = false; - _FXShowPosixPathInTitle = true; - }; - - dock = { - tilesize = 48; - largesize = 64; - magnification = true; - orientation = "bottom"; - mineffect = "scale"; - autohide = true; - autohide-time-modifier = 0.8; - show-recents = false; - show-process-indicators = true; - static-only = false; - wvous-tl-corner = 1; - wvous-tr-corner = 4; - wvous-bl-corner = 1; - wvous-br-corner = 1; - persistent-apps = [ - "/System/Applications/System Settings.app" - "/Applications/Google Chrome.app" - "/System/Applications/Mail.app" - "/Applications/Telegram.app" - "/System/Applications/Calendar.app" - "/Applications/Obsidian.app" - "/Applications/VSCodium.app" - "/Users/michaotic/Applications/Home Manager Apps/kitty.app" - "/System/Applications/Books.app" - "/System/Applications/QuickTime Player.app" - ]; - }; - }; - - system.activationScripts.postActivation.text = '' - echo "Restarting Dock..." - sudo -u michaotic /usr/bin/killall Dock - ''; - - security.pam.services.sudo_local.touchIdAuth = true; -}