diff --git a/core/home/config/Nomarchy.ttf b/core/home/config/Nomarchy.ttf index 4bb999d..b09cd9f 100644 Binary files a/core/home/config/Nomarchy.ttf and b/core/home/config/Nomarchy.ttf differ diff --git a/core/system/default.nix b/core/system/default.nix index 047d13f..12805e3 100644 --- a/core/system/default.nix +++ b/core/system/default.nix @@ -4,6 +4,7 @@ imports = [ ./options.nix ./state.nix + ./graphics.nix ./nix.nix ./scripts.nix ./systemd.nix diff --git a/core/system/graphics.nix b/core/system/graphics.nix new file mode 100644 index 0000000..0fd9da4 --- /dev/null +++ b/core/system/graphics.nix @@ -0,0 +1,10 @@ +{ lib, ... }: + +{ + # Enable OpenGL/Graphics for Wayland Compositors (Hyprland) + # This provides better resolution and smoothness for all platforms. + hardware.graphics = { + enable = lib.mkDefault true; + enable32Bit = lib.mkDefault true; + }; +} diff --git a/core/system/vm-guest.nix b/core/system/vm-guest.nix index 5aeee49..f600744 100644 --- a/core/system/vm-guest.nix +++ b/core/system/vm-guest.nix @@ -7,6 +7,11 @@ virtualisation.qemu.options = [ "-device" "virtio-vga" ]; }; + # Improve VM resolution and guest experience + services.spice-vdagentd.enable = true; + services.qemuGuest.enable = true; + services.xserver.videoDrivers = [ "qxl" "virtio" "modesetting" ]; + # Dummy hardware config for VM fileSystems."/" = lib.mkDefault { device = "/dev/disk/by-label/nixos"; }; boot.loader.grub.device = lib.mkDefault "/dev/vda"; diff --git a/features/desktop/waybar/themes/summer-night/config.jsonc b/features/desktop/waybar/themes/summer-night/config.jsonc index b70d4e5..df78992 100644 --- a/features/desktop/waybar/themes/summer-night/config.jsonc +++ b/features/desktop/waybar/themes/summer-night/config.jsonc @@ -9,7 +9,7 @@ "spacing": 15, "modules-left": ["custom/nomarchy", "clock", "clock#date"], "modules-center": ["hyprland/workspaces"], - "modules-right": ["custom/update", "custom/voxtype", "custom/screenrecording-indicator", "custom/idle-indicator", "custom/notification-silencing-indicator", "idle_inhibitor", "pulseaudio", "custom/battery", "backlight", "tray", "custom/powermenu"], + "modules-right": [ "idle_inhibitor", "pulseaudio", "custom/battery", "backlight", "tray", "custom/powermenu"], "hyprland/workspaces": { "disable-scroll": true, diff --git a/features/desktop/waybar/themes/summer-night/style.css b/features/desktop/waybar/themes/summer-night/style.css index 1c2f39a..396d952 100644 --- a/features/desktop/waybar/themes/summer-night/style.css +++ b/features/desktop/waybar/themes/summer-night/style.css @@ -28,7 +28,7 @@ /* Spacing inside the element */ * { - font-family: JetBrainsMono Nerd Font, FontAwesome, Nomarchy; + font-family: JetBrainsMono Nerd Font, FontAwesome; font-size: 13px; font-weight: bold; } @@ -98,6 +98,7 @@ window#waybar { margin-left: 15px; padding-left: 20px; padding-right: 21px; + font-family: Nomarchy; font-size: 20px; } diff --git a/hosts/live-iso.nix b/hosts/live-iso.nix index be78597..bbb2593 100644 --- a/hosts/live-iso.nix +++ b/hosts/live-iso.nix @@ -17,6 +17,10 @@ # Ensure the live environment user has the necessary groups for graphical acceleration and audio users.users.nixos.extraGroups = [ "wheel" "video" "render" "audio" "networkmanager" ]; + # Graphics support for live environment + boot.initrd.kernelModules = [ "amdgpu" "radeon" "nouveau" "i915" ]; + services.xserver.videoDrivers = [ "amdgpu" "radeon" "nouveau" "modesetting" "fbdev" ]; + environment.etc."install.sh" = { source = ../installer/install.sh; mode = "0755";