fix dpi
This commit is contained in:
parent
9cf6920d37
commit
1b4a3bbe29
12
flake.lock
12
flake.lock
|
@ -726,16 +726,16 @@
|
|||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1679598117,
|
||||
"narHash": "sha256-Vs1f/7imI77OkMOQhO3xgx4jalN2Gx3D3C2wmnlpWJM=",
|
||||
"owner": "NixOS",
|
||||
"lastModified": 1679726555,
|
||||
"narHash": "sha256-h7Dd/uWu7i5Yv1E+DweyJJUzTvGWXqfSo8/hz1YEolY=",
|
||||
"owner": "toastal",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "648021dcb2b65498eed3ea3a7339cdfc3bea4d82",
|
||||
"rev": "0889479119961000c4a15801a0343cd1f11de556",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "master",
|
||||
"owner": "toastal",
|
||||
"ref": "z-series-no-hidpi",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
nixos-generators.url = "github:nix-community/nixos-generators";
|
||||
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
nixos-hardware.url = "github:toastal/nixos-hardware/z-series-no-hidpi";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs_22-11, vault-secrets, colmena, home-manager
|
||||
|
|
|
@ -85,7 +85,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
fonts.optimizeForVeryHighDPI = true;
|
||||
fonts.fonts = with pkgs; [
|
||||
material-design-icons
|
||||
noto-fonts
|
||||
|
|
|
@ -38,5 +38,4 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
# high-resolution display
|
||||
fonts.optimizeForVeryHighDPI = lib.mkDefault true;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, pkgs, lib, ... }: {
|
||||
{ inputs, pkgs, ... }: {
|
||||
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
|
@ -25,8 +25,8 @@
|
|||
nix.enable = true;
|
||||
treesitter = {
|
||||
enable = true;
|
||||
nixGrammars = false;
|
||||
ensureInstalled = [ ];
|
||||
nixGrammars = true;
|
||||
# ensureInstalled = [ ];
|
||||
};
|
||||
surround.enable = true;
|
||||
fugitive.enable = true;
|
||||
|
|
Loading…
Reference in a new issue