Replace the depricated hidpi option
This commit is contained in:
parent
02e61ad249
commit
0c0d307916
|
@ -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
|
||||
];
|
||||
|
|
|
@ -21,8 +21,6 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
hardware.video.hidpi.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = hostname;
|
||||
interfaces.enp0s3.useDHCP = true;
|
||||
|
|
|
@ -36,8 +36,6 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
hardware.video.hidpi.enable = true;
|
||||
|
||||
networking.hostName = hostname;
|
||||
|
||||
swapDevices = [
|
||||
|
|
Loading…
Reference in New Issue