summary refs log tree commit diff
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-07-15 23:15:52 +0200
committerMel <mel@rnrd.eu>2025-07-15 23:15:52 +0200
commitcdfc101d266a602d657c91f862dd695a8db7337f (patch)
tree3d2499ecc62e20009a1327533ccff3de194abf9d
parent4ec04097d7720e0f3a772d41d7a6e43285c89265 (diff)
downloadminerals-cdfc101d266a602d657c91f862dd695a8db7337f.tar.zst
minerals-cdfc101d266a602d657c91f862dd695a8db7337f.zip
Extend display to notch region on Moissanite (and add extension to move around topbar content)
Signed-off-by: Mel <mel@rnrd.eu>
-rw-r--r--machines/moissanite/devices.nix5
-rw-r--r--modules/gnome.nix2
2 files changed, 6 insertions, 1 deletions
diff --git a/machines/moissanite/devices.nix b/machines/moissanite/devices.nix
index d6c4d2c..07aa592 100644
--- a/machines/moissanite/devices.nix
+++ b/machines/moissanite/devices.nix
@@ -20,6 +20,11 @@
 
     initrd.systemd.enable = true;
 
+    # expand display to notch region
+    kernelParams = [
+      "apple_dcp.show_notch=1"
+    ];
+
     # check nixos-apple-silicon documentation on this,
     # if keyboard weirdness ever comes up.
     # extraModprobeConfig = ''
diff --git a/modules/gnome.nix b/modules/gnome.nix
index b22476a..a753a99 100644
--- a/modules/gnome.nix
+++ b/modules/gnome.nix
@@ -16,7 +16,7 @@
   environment.systemPackages = (with pkgs; [
     gnome-terminal gnome-tweaks dconf-editor
   ]) ++ (with pkgs.gnomeExtensions; [
-    runcat vitals
+    runcat vitals just-perfection
   ]);
 
   environment.sessionVariables = {