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