From 3dd421cb08d3d6e71b3092593846f40e81a767fb Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Tue, 17 Jun 2025 11:09:30 -0400 Subject: [PATCH] Updates GNOME and hardware config settings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • GNOME shell extension • Return xserver settings with US keyboard layout and xterm exclusion, was causing issues in RUNE • Enable ARM binary emulation in Rune • Remove fixed width setting for Code window --- home/global/common/gnome/dconf.nix | 5 +++-- hosts/global/common/gnome.nix | 9 +++++++++ hosts/x86/rune/hardware.nix | 3 +++ hosts/x86/vm/default.nix | 1 - 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/home/global/common/gnome/dconf.nix b/home/global/common/gnome/dconf.nix index a4bfdc8..36ed858 100644 --- a/home/global/common/gnome/dconf.nix +++ b/home/global/common/gnome/dconf.nix @@ -123,15 +123,16 @@ with lib.hm.gvariant; "blur-my-shell@aunetx" "color-picker@tuberry" "dash-in-panel@fthx" + # "eepresetselector@ulville.github.io" "just-perfection-desktop@just-perfection" "monitor-brightness-volume@ailin.nemui" "pano@elhan.io" "paperwm@paperwm.github.com" "quicksettings-audio-devices-hider@marcinjahn.com" "quicksettings-audio-devices-renamer@marcinjahn.com" + "solaar-extension@sidevesh" "undecorate@sun.wxg@gmail.com" "user-theme@gnome-shell-extensions.gcampax.github.com" - "solaar-extension@sidevesh" "Vitals@CoreCoding.com" ]; favorite-apps = lib.mkDefault [ @@ -322,7 +323,7 @@ with lib.hm.gvariant; window-gap = 8; winprops = [ '' - {"wm_class":"Code","preferredWidth":"70%","spaceIndex":0} + {"wm_class":"Code","spaceIndex":0} '' '' {"wm_class":"com.mitchellh.ghostty","scratch_layer":true} diff --git a/hosts/global/common/gnome.nix b/hosts/global/common/gnome.nix index f9b5443..21d49f5 100644 --- a/hosts/global/common/gnome.nix +++ b/hosts/global/common/gnome.nix @@ -1,6 +1,14 @@ { pkgs, config, ... }: { ## DE ## + services.xserver = { + enable = true; + xkb = { + layout = "us"; + variant = ""; + }; + }; + services.desktopManager.gnome = { enable = true; extraGSettingsOverridePackages = [ pkgs.mutter ]; @@ -45,6 +53,7 @@ ]; ## Exclusions ## + services.xserver.excludePackages = [ pkgs.xterm ]; environment.gnome.excludePackages = ( with pkgs; [ diff --git a/hosts/x86/rune/hardware.nix b/hosts/x86/rune/hardware.nix index 1d55d0a..1f9dcc9 100644 --- a/hosts/x86/rune/hardware.nix +++ b/hosts/x86/rune/hardware.nix @@ -48,6 +48,9 @@ "amdgpu" ]; extraModulePackages = [ ]; + + # Allow running ARM binaries on x86_64; for Cross Compilation + binfmt.emulatedSystems = [ "aarch64-linux" ]; }; # For less permission issues with SSHFS diff --git a/hosts/x86/vm/default.nix b/hosts/x86/vm/default.nix index 3d8b58b..974b62f 100644 --- a/hosts/x86/vm/default.nix +++ b/hosts/x86/vm/default.nix @@ -31,7 +31,6 @@ in ## Misc Inputs ## ]) - ]; ## Host Specifications ##