23.05@nord

This commit is contained in:
Peder Bergebakken Sundt 2023-06-11 14:26:19 +02:00
parent 8ee842d89a
commit e16dd46796
5 changed files with 5 additions and 14 deletions

View File

@ -72,9 +72,6 @@
# System fonts # System fonts
# Nice to have when X-forwading on headless machines # Nice to have when X-forwading on headless machines
# TODO: move?
#hardware.video.hidpi.enable = true; # highdpi (for nord only)
#fonts.fontconfig.hinting.enable = true; # lowdpi
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [

View File

@ -89,9 +89,6 @@
services.openssh.settings.X11Forwarding = true; services.openssh.settings.X11Forwarding = true;
# System fonts # System fonts
# Nice to have when X-forwading on headless machines
hardware.video.hidpi.enable = true; # highdpi (TODO: for nord only? move?)
#fonts.fontconfig.hinting.enable = true; # lowdpi
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [

View File

@ -36,6 +36,4 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
} }

View File

@ -145,9 +145,6 @@
# System fonts # System fonts
# Nice to have when X-forwading on headless machines # Nice to have when X-forwading on headless machines
# TODO: move?
#hardware.video.hidpi.enable = true; # highdpi (for nord only)
#fonts.fontconfig.hinting.enable = true; # lowdpi
fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts fonts.fontDir.enable = true; # creates /run/current-system/sw/share/X11/fonts
fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji fonts.enableDefaultFonts = true; # dejavu, freefont, gyre, liberation, unifont, noto-fonts-emoji
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [

View File

@ -12,12 +12,13 @@
"steam-runtime" "steam-runtime"
]; ];
/** /
#programs.java.enable = true; #programs.java.enable = true;
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
# TODO: mesa, see https://sourcegraph.com/github.com/corngood/nixos-mesa-git/-/blob/configuration.nix
steam = pkgs.steam.override { steam = pkgs.steam.override {
withPrimus = config.hardware.nvidia.modesetting.enable; #withPrimus = config.hardware.nvidia.modesetting.enable;
withJava = config.programs.java.enable; #withJava = config.programs.java.enable;
#nativeOnly = true; #nativeOnly = true;
#newStdcpp = true; #newStdcpp = true;
#extraProfile = "export SDL_VIDEODRIVER=x11"; #extraProfile = "export SDL_VIDEODRIVER=x11";
@ -59,6 +60,7 @@
]; ];
}; };
}; };
/**/
#services.joycond.enable = true; #services.joycond.enable = true;