From 91acaff63ec149e3cf9d9282e16b9b2b3be911bf Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sat, 1 Apr 2023 13:16:26 +0200 Subject: [PATCH] feat: disabled hidpi --- machines/macintosh/default.nix | 3 ++- machines/macintosh/hardware.nix | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/machines/macintosh/default.nix b/machines/macintosh/default.nix index 6cce733..c31ac98 100644 --- a/machines/macintosh/default.nix +++ b/machines/macintosh/default.nix @@ -27,7 +27,8 @@ hardware.asahi.useExperimentalGPUDriver = true; hardware.asahi.pkgs = lib.mkDefault pkgs; - hardware.video.hidpi.enable = true; + + programs.fish.shellInit = '' if test -z (pgrep ssh-agent) diff --git a/machines/macintosh/hardware.nix b/machines/macintosh/hardware.nix index b11e29b..4b6ceac 100644 --- a/machines/macintosh/hardware.nix +++ b/machines/macintosh/hardware.nix @@ -5,7 +5,8 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") + [ + (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "usb_storage" "sdhci_pci" ]; @@ -14,12 +15,14 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/d01369d1-b6ad-4fef-b73e-d1d56ec249ca"; + { + device = "/dev/disk/by-uuid/d01369d1-b6ad-4fef-b73e-d1d56ec249ca"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/1070-1613"; + { + device = "/dev/disk/by-uuid/1070-1613"; fsType = "vfat"; }; @@ -34,6 +37,4 @@ nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; - # high-resolution display - hardware.video.hidpi.enable = lib.mkDefault true; }