feat: convert the rest of the configs to hjem
This commit is contained in:
parent
689c291762
commit
63d99f2062
10 changed files with 361 additions and 293 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, _utils, ... }:
|
||||
{
|
||||
imports = [
|
||||
./nvidia.nix
|
||||
|
@ -11,14 +11,12 @@
|
|||
wineWowPackages.waylandFull
|
||||
];
|
||||
|
||||
# hm = {
|
||||
# wayland.windowManager.hyprland.settings = {
|
||||
# monitor = "DP-1,3840x2160@144,0x0,1.5";
|
||||
# xwayland.force_zero_scaling = true;
|
||||
# env = [
|
||||
# "GDK_SCALE,1.5"
|
||||
# "XCURSOR_SIZE,24"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
hj.".config/hypr/hyprland.conf".text = _utils.toHyprconf {
|
||||
monitor = "DP-1,3840x2160@144,0x0,1.5";
|
||||
xwayland.force_zero_scaling = true;
|
||||
env = [
|
||||
"GDK_SCALE,1.5"
|
||||
"XCURSOR_SIZE,24"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
_utils,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
@ -37,10 +38,12 @@
|
|||
};
|
||||
};
|
||||
|
||||
# hm.wayland.windowManager.hyprland.settings.env = [
|
||||
# "XDG_SESSION_TYPE,wayland"
|
||||
# "GBM_BACKEND,nvidia-drm"
|
||||
# "__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||
# "NVD_BACKEND,direct"
|
||||
# ];
|
||||
hj.".config/hypr/hyprland.conf".text = _utils.toHyprconf {
|
||||
env = [
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
"GBM_BACKEND,nvidia-drm"
|
||||
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
|
||||
"NVD_BACKEND,direct"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue