snowhawk: default hyprland

This commit is contained in:
Zynh Ludwig 2025-03-21 07:32:51 -07:00
parent 08b0c85ddf
commit 94792ab8e0

View file

@ -12,11 +12,23 @@
# Default specialisation # Default specialisation
({ lib, config, ... }: { ({ lib, config, ... }: {
config = lib.mkIf (config.specialisation != { }) { 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 = [{ home-manager.sharedModules = [{
snowhawk.dunst.enable = lib.mkDefault true; wayland.windowManager.hyprland = {
snowhawk.dwm.useXFixes = true; 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; }]; home-manager.sharedModules = [{ snowhawk.dunst.enable = lib.mkDefault true; }];
}; };
hyprland.configuration = { dwm.configuration = {
environment.etc."specialisation".text = "hyprland"; environment.etc."specialisation".text = "dwm";
hardware.nvidia.open = lib.mkForce true; snowhawk.dwm.enable = true;
snowhawk.hyprland = {
enable = true;
nvidia = true;
split-monitor-workspaces = true;
};
home-manager.sharedModules = [{ home-manager.sharedModules = [{
wayland.windowManager.hyprland = { snowhawk.dunst.enable = lib.mkDefault true;
settings = { snowhawk.dwm.useXFixes = true;
monitor = [
"DP-1, 1920x1080@144, 1920x0, 1"
"HDMI-A-1, 1920x1080@60, 0x0, 1"
];
};
};
}]; }];
}; };
# plasma.configuration = { # plasma.configuration = {