a few more additions
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
outputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../common/programs/default.nix
|
||||
../common/programs/desktop
|
||||
../common/programs/zen-browser.nix
|
||||
../common/programs/hyprland
|
||||
../common/programs/kitty
|
||||
../common/programs/unity.nix
|
||||
../common/programs/gpg.nix
|
||||
../common/programs/ethui.nix
|
||||
../common/programs/3d.nix
|
||||
../common/programs/godot.nix
|
||||
../common/programs/nerd-dictation.nix
|
||||
../common/features/xdg.nix
|
||||
../common/features/downloads-cleanup.nix
|
||||
./monitors.nix
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
LIBVA_DRIVER_NAME = "nvidia";
|
||||
GDM_BACKEND = "nvidia-drm";
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
};
|
||||
|
||||
custom.hyprland = {
|
||||
yaziSize = "2400 1800";
|
||||
cursorSize = 42;
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
"$HOME/.local/bin/hyprpaper-rotate"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
# ethui-dev
|
||||
"workspace 2, match:title ethui-dev.*"
|
||||
"no_initial_focus on, match:title ethui-dev.*"
|
||||
"float on, match:title ethui-dev - dialog.*"
|
||||
|
||||
"workspace 1, match:title ethui.*"
|
||||
"no_initial_focus on, match:title ethui.*"
|
||||
"float on, match:title ethui - dialog.*"
|
||||
|
||||
"workspace 1, match:title ^\\[bevy\\].*"
|
||||
|
||||
"workspace 3 silent, match:class bevy-.*"
|
||||
"no_initial_focus on, match:class bevy-.*"
|
||||
"fullscreen on, match:class bevy-.*"
|
||||
|
||||
"workspace 1 silent, match:title egui-.*"
|
||||
"border_size 0, match:title egui-.*"
|
||||
"float on, match:title egui-.*"
|
||||
"no_blur on, match:title egui-.*"
|
||||
"move 100%-w-20 100%-h-20, match:title egui-.*"
|
||||
];
|
||||
|
||||
render = {
|
||||
direct_scanout = true;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
programs.noctalia.settings = {
|
||||
shell.ui_scale = 1.25;
|
||||
notification.monitors = [ "DP-1" ];
|
||||
# NOTE: v5 has no per-monitor wallpaper directories; only directory_light /
|
||||
# directory_dark. Re-add via Settings UI if upstream gains support.
|
||||
};
|
||||
|
||||
programs.kitty.settings.font_size = 16;
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
monitor = [
|
||||
# List HDMI-A-1 first so it becomes the primary monitor (ID 0)
|
||||
"HDMI-A-1, 3840x2160, 0x2160, 1"
|
||||
# Then the other monitors
|
||||
"DP-2, 3840x2160, 3840x180, 1, transform, 1"
|
||||
"DP-1, 3840x2160, 0x0, 1"
|
||||
];
|
||||
workspace = [
|
||||
"1, monitor:HDMI-A-1, default:true, persistent:true" # bottom-left (primary)
|
||||
"2, monitor:DP-2, persistent:true" # right (vertical)
|
||||
"3, monitor:DP-1, persistent:true" # top-left
|
||||
"4, monitor:HDMI-A-1" # bottom-left
|
||||
"5, monitor:DP-2" # right (vertical)
|
||||
"6, monitor:DP-1" # top-left
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user