[Hyprland] Migrates to new lua-based config
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
networking.networkmanager.enable = true;
|
||||
# Disable wpa-supplicant to avoid conflicts with network manager.
|
||||
# Appears this is not needed as of 26.05
|
||||
# networking.wireless.enable = false;
|
||||
networking.wireless.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
@@ -48,16 +48,17 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
# Set up eww here because it's based on the monitor configuration
|
||||
"sleep 2 && eww open-many primary-statusbar secondary-statusbar"
|
||||
# Set DP-2 as the primary monitor, otherwise it defaults to DP-1 because it's first in the list.
|
||||
"xrandr --output DP-2 --primary"
|
||||
];
|
||||
windowrule = [
|
||||
# Rofi doesn't center properly when I have the two asymetric monitors, so we need hyprland to manage it.
|
||||
"match:class Rofi, center on"
|
||||
];
|
||||
};
|
||||
# TODO: Merge into lua config
|
||||
# wayland.windowManager.hyprland.settings = {
|
||||
# exec-once = [
|
||||
# # Set up eww here because it's based on the monitor configuration
|
||||
# "sleep 2 && eww open-many primary-statusbar secondary-statusbar"
|
||||
# # Set DP-2 as the primary monitor, otherwise it defaults to DP-1 because it's first in the list.
|
||||
# "xrandr --output DP-2 --primary"
|
||||
# ];
|
||||
# windowrule = [
|
||||
# # Rofi doesn't center properly when I have the two asymetric monitors, so we need hyprland to manage it.
|
||||
# "match:class Rofi, center on"
|
||||
# ];
|
||||
# };
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@
|
||||
#
|
||||
# Current versions can be found in https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/os-specific/linux/nvidia-x11/default.nix
|
||||
#
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
|
||||
modesetting.enable = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user