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
({ 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 = {