From 419a2514b92ed3baddd0b09c711063ca5eeaa058 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 31 Jul 2025 15:30:22 +0300 Subject: [PATCH] hosts.cape: fixes --- hosts/cape/default.nix | 2 +- hosts/pala/default.nix | 2 +- modules/common/editor/helix.nix | 6 ++++-- modules/darwin/paperwm.nix | 5 +++++ 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/hosts/cape/default.nix b/hosts/cape/default.nix index 9dc38f2..4078e11 100644 --- a/hosts/cape/default.nix +++ b/hosts/cape/default.nix @@ -15,7 +15,7 @@ in { networking.hostName = "cape"; users.users.said = { - name = "Said"; + name = "said"; home = "/Users/said"; }; diff --git a/hosts/pala/default.nix b/hosts/pala/default.nix index 37c9baa..649527a 100644 --- a/hosts/pala/default.nix +++ b/hosts/pala/default.nix @@ -19,7 +19,7 @@ in { networking.hostName = "pala"; users.users.pala = { - name = "Pala"; + name = "pala"; home = "/Users/pala"; }; diff --git a/modules/common/editor/helix.nix b/modules/common/editor/helix.nix index 8044eed..2f50cd8 100644 --- a/modules/common/editor/helix.nix +++ b/modules/common/editor/helix.nix @@ -15,7 +15,7 @@ }; }); - package = pkgs.helix.overrideAttrs (finalAttrs: _previousAttrs: { + _package = pkgs.helix.overrideAttrs (finalAttrs: _previousAttrs: { version = "25.07.2"; src = pkgs.fetchzip { url = "https://github.com/bloxx12/helix/releases/download/${finalAttrs.version}/helix-${finalAttrs.version}-source.tar.xz"; @@ -27,9 +27,11 @@ cargoDeps = pkgs.rustPlatform.fetchCargoVendor { inherit (pkgs.helix) src; - hash = "sha256-3poZSvIrkx8lguxxDeNfngW6+4hH8TV/LHcZx5W5aXg="; + hash = "sha256-JZwURUMUnwc3tzAsN7NJCE8106c/4VgZtHHA3e/BsXs="; }; }); + + package = pkgs.helix; in { editor.defaultAlias = "hx"; diff --git a/modules/darwin/paperwm.nix b/modules/darwin/paperwm.nix index f703c3a..7f2428e 100644 --- a/modules/darwin/paperwm.nix +++ b/modules/darwin/paperwm.nix @@ -40,6 +40,11 @@ in { system.defaults.CustomSystemPreferences."com.apple.dock".workspaces-auto-swoosh = false; # Read `AppleSpacesSwitchOnActivate`. + system.defaults.CustomSystemPreferences."com.apple.CoreBrightness" = { + "Keyboard Dim Time" = 60; + KeyboardBacklight.KeyboardBacklightIdleDimTime = 60; + }; + system.defaults.CustomSystemPreferences."com.apple.AppleMultitouchTrackpad" = { TrackpadThreeFingerVertSwipeGesture = 0; # Four finger swipe up for mission control.