diff --git a/hosts/snowhawk/configuration.nix b/hosts/snowhawk/configuration.nix index 49114c3..ca7af41 100644 --- a/hosts/snowhawk/configuration.nix +++ b/hosts/snowhawk/configuration.nix @@ -12,11 +12,23 @@ # Default specialisation ({ lib, config, ... }: { config = lib.mkIf (config.specialisation != { }) { - snowhawk.dwm.enable = true; + hardware.nvidia.open = lib.mkForce true; + + snowhawk.hyprland = { + enable = true; + nvidia = true; + split-monitor-workspaces = true; + }; home-manager.sharedModules = [{ - snowhawk.dunst.enable = lib.mkDefault true; - snowhawk.dwm.useXFixes = true; + wayland.windowManager.hyprland = { + settings = { + monitor = [ + "DP-1, 1920x1080@144, 1920x0, 1" + "HDMI-A-1, 1920x1080@60, 0x0, 1" + ]; + }; + }; }]; }; }) @@ -57,26 +69,14 @@ home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }]; }; - hyprland.configuration = { - environment.etc."specialisation".text = "hyprland"; + dwm.configuration = { + environment.etc."specialisation".text = "dwm"; - hardware.nvidia.open = lib.mkForce true; - - snowhawk.hyprland = { - enable = true; - nvidia = true; - split-monitor-workspaces = true; - }; + snowhawk.dwm.enable = true; home-manager.sharedModules = [{ - wayland.windowManager.hyprland = { - settings = { - monitor = [ - "DP-1, 1920x1080@144, 1920x0, 1" - "HDMI-A-1, 1920x1080@60, 0x0, 1" - ]; - }; - }; + snowhawk.dunst.enable = lib.mkDefault true; + snowhawk.dwm.useXFixes = true; }]; }; # plasma.configuration = {