From fccee387b8a5ce099cd4150c3356a2d9c802797e Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Tue, 17 Dec 2024 08:21:36 -0500 Subject: [PATCH] tweaks for working on a new macbook --- modules/common/shell/github.nix | 2 +- modules/common/shell/utilities.nix | 2 +- modules/darwin/system.nix | 3 +++ modules/darwin/user.nix | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/common/shell/github.nix b/modules/common/shell/github.nix index 0f0c134..e604f4b 100644 --- a/modules/common/shell/github.nix +++ b/modules/common/shell/github.nix @@ -57,7 +57,7 @@ esac selected=$(gh repo list "$organization" \ - --limit 100 \ + --limit 1000 \ --no-archived \ --json=name,description,isPrivate,updatedAt,primaryLanguage \ | jq -r '.[] | .name + "," + if .description == "" then "-" else .description |= gsub(","; " ") | .description end + "," + .updatedAt + "," + .primaryLanguage.name' \ diff --git a/modules/common/shell/utilities.nix b/modules/common/shell/utilities.nix index f88ab47..d07ac7b 100644 --- a/modules/common/shell/utilities.nix +++ b/modules/common/shell/utilities.nix @@ -34,7 +34,7 @@ in osc # Clipboard over SSH qrencode # Generate qr codes rsync # Copy folders - ren # Rename files + # ren # Rename files # rep # Replace text in files ripgrep # grep sd # sed diff --git a/modules/darwin/system.nix b/modules/darwin/system.nix index 3501c9c..b8019f2 100644 --- a/modules/darwin/system.nix +++ b/modules/darwin/system.nix @@ -148,6 +148,9 @@ # Where to save screenshots screencapture.location = "~/Downloads"; + # Show seconds on the clock + menuExtraClock.ShowSeconds = true; + CustomUserPreferences = { # Disable disk image verification "com.apple.frameworks.diskimages" = { diff --git a/modules/darwin/user.nix b/modules/darwin/user.nix index 6ad9c1f..18c5fd9 100644 --- a/modules/darwin/user.nix +++ b/modules/darwin/user.nix @@ -11,11 +11,12 @@ users.users."${config.user}" = { # macOS user home = config.homePath; + uid = 502; # shell = pkgs.fish; # Default shell }; # This might fix the shell issues - # users.knownUsers = [ config.user ]; + users.knownUsers = [ config.user ]; home-manager.users.${config.user} = {