Replace the depricated hidpi option

This commit is contained in:
Andreas Zweili 2023-06-04 14:34:54 +02:00
parent 02e61ad249
commit 0c0d307916
3 changed files with 14 additions and 4 deletions

View File

@ -40,6 +40,20 @@ in
};
};
# taken from here: https://github.com/NixOS/nixpkgs/blob/nixos-22.11/nixos/modules/hardware/video/hidpi.nix
# {
# Needed when typing in passwords for full disk encryption
console.earlySetup = true;
boot.loader.systemd-boot.consoleMode = "1";
fonts.fontconfig = {
antialias = true;
subpixel = {
rgba = "none";
lcdfilter = "none";
};
};
# }
fonts.fonts = with pkgs; [
source-code-pro
];

View File

@ -21,8 +21,6 @@
fsType = "vfat";
};
hardware.video.hidpi.enable = true;
networking = {
hostName = hostname;
interfaces.enp0s3.useDHCP = true;

View File

@ -36,8 +36,6 @@
fsType = "vfat";
};
hardware.video.hidpi.enable = true;
networking.hostName = hostname;
swapDevices = [