From fca49effd3acab0f494654e0fe7d522ac7d19817 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sun, 4 Feb 2024 02:05:58 -0500 Subject: [PATCH] Infini-FRAMEWORK: compact fwupd and autorandr sections --- hosts/Infini-FRAMEWORK/default.nix | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/hosts/Infini-FRAMEWORK/default.nix b/hosts/Infini-FRAMEWORK/default.nix index fc60f9a..a638919 100644 --- a/hosts/Infini-FRAMEWORK/default.nix +++ b/hosts/Infini-FRAMEWORK/default.nix @@ -58,12 +58,8 @@ services.fwupd = { enable = true; - extraRemotes = [ - "lvfs-testing" - ]; - uefiCapsuleSettings = { - DisableCapsuleUpdateOnDisk = "true"; - }; + extraRemotes = [ "lvfs-testing" ]; + uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = "true"; }; services.autorandr.profiles = { @@ -73,20 +69,8 @@ DP-4 = "00ffffffffffff0006b34116818202002b200104a52213783a28659759548e271e5054a10800b30095008180814081c0010101010101023a801871382d40582c450058c21000001e000000ff004e414c4d54463136343438310a000000fd00324b185311000a202020202020000000fc0041535553204d42313641430a20011802030a3165030c0010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c"; }; config = { - eDP-1 = { - crtc = 0; - mode = "2256x1504"; - position = "1080x416"; - primary = true; - rate = "60.00"; - }; - DP-4 = { - crtc = 1; - mode = "1920x1080"; - position = "0x0"; - rate = "60.00"; - rotate = "left"; - }; + eDP-1 = { crtc = 0; mode = "2256x1504"; position = "1080x416"; primary = true; rate = "60.00"; }; + DP-4 = { crtc = 1; mode = "1920x1080"; position = "0x0"; rate = "60.00"; rotate = "left"; }; }; }; };