mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 06:50:14 +01:00
feat: write big cursed function to make zinnia's display work
This commit is contained in:
parent
2f23a9f717
commit
b27442991e
1 changed files with 9 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, host, ... }:
|
||||||
{
|
{
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
home.packages = [
|
home.packages = [
|
||||||
|
|
@ -58,7 +58,14 @@
|
||||||
source = "~/nixos-config/modules/home/hyprland/displays.conf";
|
source = "~/nixos-config/modules/home/hyprland/displays.conf";
|
||||||
|
|
||||||
"debug:disable_scale_checks" = true;
|
"debug:disable_scale_checks" = true;
|
||||||
monitor = "eDP-1, 2256x1504@60, 0x0, 1.5";
|
# monitor = "eDP-1, 2256x1504@60, 0x0, 1.5";
|
||||||
|
monitor =
|
||||||
|
if (host == "sakura") then
|
||||||
|
"eDP-1, 2256x1504@60, 0x0, 1.5"
|
||||||
|
else if (host == "zinnia") then
|
||||||
|
"eDP-1, 1920x1080@60, 0x0, 1.0"
|
||||||
|
else
|
||||||
|
", preferred, auto, 1";
|
||||||
|
|
||||||
# autostart
|
# autostart
|
||||||
exec-once = [
|
exec-once = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue