fix some issues
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Vivian 2023-03-23 09:55:48 +01:00
parent fcdcea766d
commit f49dd92596
5 changed files with 11 additions and 8 deletions

View file

@ -855,11 +855,11 @@
}, },
"nixpkgs_22-11": { "nixpkgs_22-11": {
"locked": { "locked": {
"lastModified": 1679438883, "lastModified": 1679472241,
"narHash": "sha256-te6FbYhXwwZgwbYXp1MzybT+a36VLCUBKb3D4NBj1GY=", "narHash": "sha256-VK2YDic2NjPvfsuneJCLIrWS38qUfoW8rLLimx0rWXA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3268859e68c056725359ebc8315695d26c95fb6b", "rev": "9ef6e7727f4c31507627815d4f8679c5841efb00",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1002,11 +1002,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1679553587, "lastModified": 1679557124,
"narHash": "sha256-6j/hVi4Ktl8LAj97g51zqwVO1JnxUt9+p93lS6Mg+No=", "narHash": "sha256-W1lSEOJW5dmv4FhMxZWcr5ZFwvImKbE19sIIAAfdMbo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "f166fbc345e85ec79bdd0ae027f779db1fd4386c", "rev": "2e6da00695e553ed8b16a50b300b5906483a3bb9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -85,6 +85,7 @@
}; };
}; };
fonts.optimizeForVeryHighDPI = true;
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
material-design-icons material-design-icons
noto-fonts noto-fonts

View file

@ -6,6 +6,8 @@
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {
# TODO: Is this smart?
dpi = 280;
layout = "us"; layout = "us";
xkbVariant = "altgr-intl"; xkbVariant = "altgr-intl";
xkbOptions = "caps:swapescape"; xkbOptions = "caps:swapescape";

View file

@ -38,5 +38,5 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display # high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true; fonts.optimizeForVeryHighDPI = lib.mkDefault true;
} }

View file

@ -46,7 +46,7 @@
servers.rust-analyzer.enable = true; servers.rust-analyzer.enable = true;
servers.rnix-lsp.enable = true; servers.rnix-lsp.enable = true;
servers.pyright.enable = true; servers.pyright.enable = true;
servers.elixirls.enable = true; # servers.elixirls.enable = true;
servers.clangd.enable = true; servers.clangd.enable = true;
}; };
trouble.enable = true; trouble.enable = true;