diff --git a/configuration.nix b/configuration.nix index 70fe85f..40df3f9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ pkgs, inputs, catppuccinFlavor, ... }: +{ pkgs, inputs, config, catppuccinFlavor, ... }: { imports = [ @@ -23,7 +23,9 @@ catppuccin.enable = true; programs.dconf.enable = true; - # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; networking.hostName = "hp-laptop-lho"; # Define your hostname. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. @@ -166,6 +168,21 @@ pkgs.kanshi inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default + + (pkgs.steam.override { + # Workaround for embedded browser not working. + # + # https://github.com/NixOS/nixpkgs/issues/137279 + extraPkgs = pkgs: with pkgs; [ pango harfbuzz libthai ]; + + # Workaround for an issue with VK_ICD_FILENAMES on nvidia hardware: + # + # - https://github.com/NixOS/nixpkgs/issues/126428 (bug) + # - https://github.com/NixOS/nixpkgs/issues/108598#issuecomment-858095726 (workaround) + extraProfile = '' + export VK_ICD_FILENAMES=${config.hardware.nvidia.package}/share/vulkan/icd.d/nvidia_icd.json:${config.hardware.nvidia.package.lib32}/share/vulkan/icd.d/nvidia_icd32.json:$VK_ICD_FILENAMES + ''; + }) ]; programs.nix-ld.libraries = with pkgs; [ diff --git a/home.nix b/home.nix index 26626b4..0d689eb 100644 --- a/home.nix +++ b/home.nix @@ -160,6 +160,8 @@ #better man pages pkgs.tealdeer # run wtih tldr + + pkgs.loupe # # It is sometimes useful to fine-tune packages, for example, by applying # # overrides. You can do that directly here, just don't forget the # # parentheses. Maybe you want to install Nerd Fonts with a limited number of