From 6e4cf161595e4428a7670007f417e4492826f138 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Tue, 10 Dec 2024 13:15:07 +0300 Subject: [PATCH] Max: Update display. --- host/x86_64-linux/max/default.nix | 14 +++++--------- secret/default.nix | 1 + 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/host/x86_64-linux/max/default.nix b/host/x86_64-linux/max/default.nix index 26b0c9c..fa672ff 100644 --- a/host/x86_64-linux/max/default.nix +++ b/host/x86_64-linux/max/default.nix @@ -18,17 +18,13 @@ }; display = { primary = "eDP-1"; - # rotate = { - # tty = 90; - # DSI-1 = 90; - # }; }; - # sway.extraConfig = [ - # "input type:touch map_to_output DSI-1" - # ]; + sway.extraConfig = [ + "output eDP-1 scale 2" + ]; hwmon = { - # file = "temp1_input"; - # path = "/sys/devices/platform/coretemp.0/hwmon"; + file = "temp1_input"; + path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon"; }; amd = { gpu.enable = true; diff --git a/secret/default.nix b/secret/default.nix index a7dfb94..e1d1b00 100644 --- a/secret/default.nix +++ b/secret/default.nix @@ -12,6 +12,7 @@ # Keys that are allowd to connect via SSH to nixbuild user for Nix remote builds. builderKey = "nixbuilder-1:Skghjixd8lPzNe2ZEgYLM9Pu/wF9wiZtZGsdm3bo9h0="; buildKeys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICIRnJh4J0l8F+Q4ALMEcBYPdV9xxpheWVd58FOsiiCe root@max" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEHkH1xq78T2H1/c/Ej2O46v16Cuivt8zW3kUd0K6hwL root@pocket" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEuuw5ek5wGB9KdBhCTxjV+CBpPU6RIOynHkFYC4dau3 root@dasha" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFgiYKFkMfiGOZCZIk+O7LtaoF6A3cHEFCqaPwXOM4rR root@work"