ソースを参照

feat(desktop): enhance desktop and CLI environment

This commit introduces several improvements to the desktop and command-line experience.

- **zen-browser:** Adds several privacy and convenience-focused Firefox extensions:
  - Video Speed Controller
  - Proton Pass
  - SimpleLogin
  - Alby

- **tmux:**
  - Renames the default AI window from "gemini" to "ai".
  - Moves the status bar to the top for better visibility.
  - Updates the status bar separator icons.

- **ghostty:**
  - Adjusts window padding for a more compact layout.
  - Switches to the "dark" theme.

- **aerospace:**
  - Disables  to allow for manual startup.

- **System:**
  - The macOS menu bar is now always visible.

- **Dependencies:**
  - Updates flake inputs.
Zander Hawke 10 ヶ月 前
コミット
97cb21c4e9

+ 6 - 6
flake.lock

@@ -226,11 +226,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1754613544,
-        "narHash": "sha256-ueR1mGX4I4DWfDRRxxMphbKDNisDeMPMusN72VV1+cc=",
+        "lastModified": 1754974548,
+        "narHash": "sha256-XMjUjKD/QRPcqUnmSDczSYdw46SilnG0+wkho654DFM=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "cc2fa2331aebf9661d22bb507d362b39852ac73f",
+        "rev": "27a26be51ff0162a8f67660239f9407dba68d7c5",
         "type": "github"
       },
       "original": {
@@ -512,11 +512,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1754972926,
-        "narHash": "sha256-2CEQSI3o7XWMc/DOdeNf6gTKjgGf8hHS0TB0HYPmSmA=",
+        "lastModified": 1755055213,
+        "narHash": "sha256-smOMNJ6ZM4mKvYB2z1Dbfkttr9fnjqeLT9bqRwn/L1U=",
         "owner": "0xc000022070",
         "repo": "zen-browser-flake",
-        "rev": "508a7c0c5c993d237773be89f5ca91ff8c997b44",
+        "rev": "6391f8217d75b9f72b8c77572246937323ed90bc",
         "type": "github"
       },
       "original": {

+ 1 - 0
flake.nix

@@ -20,6 +20,7 @@
     zen-browser.inputs.nixpkgs.follows = "nixpkgs-unstable";
 
     sessionx.url = "github:tstachl/tmux-sessionx/feature-speed-up-find";
+    # sessionx.url = "path:/Users/thomas/workspace/tstachl/tmux-sessionx";
     sessionx.inputs.nixpkgs.follows = "nixpkgs-unstable";
   };
 

+ 12 - 1
home/features/cli/tmux.nix

@@ -43,7 +43,7 @@ in
           set -g @sessionx-custom-paths-subdirectories-depth 2
           set -g @sessionx-name-template '{-2}/{-1}'
           set -g @sessionx-startup-command '${builtins.concatStringsSep " && " [
-            "tmux new-window -n gemini -t {session}"
+            "tmux new-window -n ai -t {session}"
             "tmux new-window -n terminal -t {session}"
             "tmux rename-window -t {session}:1 editor"
             "tmux send-keys -t {session}:editor \"nvim\" Enter"
@@ -57,11 +57,22 @@ in
       {
         plugin = kanagawa;
         extraConfig = ''
+          set -g status-position top
           set -g @kanagawa-theme 'dragon'
           set -g @kanagawa-refresh-rate 60
           set -g @kanagawa-show-left-icon window
           set -g @kanagawa-show-battery true
           set -g @kanagawa-show-powerline true
+          # set -g @kanagawa-show-left-sep 
+          # set -g @kanagawa-show-right-sep 
+          # set -g @kanagawa-show-left-sep 
+          # set -g @kanagawa-show-right-sep 
+          # set -g @kanagawa-show-left-sep 
+          # set -g @kanagawa-show-right-sep 
+          # set -g @kanagawa-show-left-sep 
+          # set -g @kanagawa-show-right-sep 
+          set -g @kanagawa-show-left-sep 
+          set -g @kanagawa-show-right-sep 
           set -g @kanagawa-show-location false
           set -g @kanagawa-ignore-window-colors true
         '';

+ 0 - 2
home/features/desktop/aerospace.nix

@@ -25,8 +25,6 @@ in
   programs.aerospace = {
     enable = true;
     userSettings = {
-      start-at-login = true;
-
       mode.main.binding = {
         alt-1 = "workspace 1";
         alt-2 = "workspace 2";

+ 3 - 3
home/features/desktop/ghostty.nix

@@ -49,9 +49,9 @@ in
 
       window-padding-balance = true;
       window-padding-color = "extend";
-      window-padding-x = 10;
-      window-padding-y = "10,0";
-      window-theme = "ghostty";
+      window-padding-x = 5;
+      window-padding-y = "0,5";
+      window-theme = "dark";
     };
   };
 }

+ 20 - 0
home/features/desktop/zen-browser.nix

@@ -23,6 +23,26 @@ in
         install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
         installation_mode = "force_installed";
       };
+
+      "{7be2ba16-0f1e-4d93-9ebc-5164397477a9}" = {
+        install_url = "https://addons.mozilla.org/firefox/downloads/latest/videospeed/latest.xpi";
+        installation_mode = "force_installed";
+      };
+
+      "[email protected]" = {
+        install_url = "https://addons.mozilla.org/firefox/downloads/latest/proton-pass/latest.xpi";
+        installation_mode = "force_installed";
+      };
+
+      "addon@simplelogin" = {
+        install_url = "https://addons.mozilla.org/firefox/downloads/latest/simplelogin/latest.xpi";
+        installation_mode = "force_installed";
+      };
+
+      "[email protected]" = {
+        install_url = "https://addons.mozilla.org/firefox/downloads/latest/alby/latest.xpi";
+        installation_mode = "force_installed";
+      };
     };
   };
 

+ 4 - 3
hosts/meili/software.nix

@@ -26,11 +26,12 @@
       # "deepl"
       "ghostty"
       # "hot"
+      # "kanata"
       # "ledger-live"
       # "mullvadvpn"
       "obsidian"
       # "openaudible"
-      "orbstack"
+      # "orbstack"
 
       "proton-drive"
       "proton-mail-bridge"
@@ -41,7 +42,7 @@
       "tailscale-app"
       # "tor-browser"
       # "utm"
-      "vlc"
+      # "vlc"
       # "whatsapp"
       # "krunkit"
     ];
@@ -51,7 +52,7 @@
       "Yubico Authenticator" = 1497506650;
       # "UTM Virtual Machines" = 1538878817; costs $9.99 in the app store
       # "Speechify" = 1624912180;
-      "DaVinci Resolve" = 571213070;
+      # "DaVinci Resolve" = 571213070;
       # "Orbot" = 1609461599;
 
       # Safari Extensions

+ 1 - 1
hosts/meili/system.nix

@@ -78,7 +78,7 @@
         PMPrintingExpandedStateForPrint = true;
         PMPrintingExpandedStateForPrint2 = true;
         # WebKitDeveloperExtras = true;
-        _HIHideMenuBar = true;
+        _HIHideMenuBar = false;
         "com.apple.swipescrolldirection" = true;
         # "com.apple.BezelServices" = 5;
       };