a lot of changes

This commit is contained in:
Lorenz Hohermuth 2024-11-26 14:05:57 +01:00
parent a61957211c
commit 5f8926c766
2 changed files with 21 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page, on # 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`). # https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{ pkgs, inputs, catppuccinFlavor, ... }: { pkgs, inputs, config, catppuccinFlavor, ... }:
{ {
imports = [ imports = [
@ -23,7 +23,9 @@
catppuccin.enable = true; catppuccin.enable = true;
programs.dconf.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.hostName = "hp-laptop-lho"; # Define your hostname.
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
@ -166,6 +168,21 @@
pkgs.kanshi pkgs.kanshi
inputs.mcmojave-hyprcursor.packages.${pkgs.stdenv.hostPlatform.system}.default 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; [ programs.nix-ld.libraries = with pkgs; [

View File

@ -160,6 +160,8 @@
#better man pages #better man pages
pkgs.tealdeer # run wtih tldr pkgs.tealdeer # run wtih tldr
pkgs.loupe
# # It is sometimes useful to fine-tune packages, for example, by applying # # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the # # 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 # # parentheses. Maybe you want to install Nerd Fonts with a limited number of