From 41428127be44a44799241f2aa7f204ee0a3fe207 Mon Sep 17 00:00:00 2001 From: Thilo Hohlt <123883702+thiloho@users.noreply.github.com> Date: Wed, 19 Jun 2024 17:48:01 +0200 Subject: [PATCH] Scale GDM to 200% on PC --- nixos-configurations/pc/default.nix | 31 ++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/nixos-configurations/pc/default.nix b/nixos-configurations/pc/default.nix index cfe0760..777a277 100644 --- a/nixos-configurations/pc/default.nix +++ b/nixos-configurations/pc/default.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ inputs, pkgs, ... }: { imports = [ @@ -26,6 +26,35 @@ programs.adb.enable = true; users.users.thiloho.extraGroups = [ "adbusers" ]; + # Use same monitor settings for GDM as for GNOME user + systemd.tmpfiles.rules = [ + "L+ /run/gdm/.config/monitors.xml - - - - ${pkgs.writeText "gdm-monitors.xml" '' + + + + 0 + 0 + 2 + yes + + + DP-3 + GBT + M27U + 23323B000497 + + + 3840 + 2160 + 160.000 + + + + + + ''}" + ]; + home-manager.users.thiloho = { pkgs, lib, ... }: { programs.git.signing.key = "5ECD00BDC15A987E"; home = {