Omen things

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-09-11 21:03:03 +02:00
parent f9cef34606
commit f8023c8d72
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
3 changed files with 8 additions and 3 deletions

View file

@ -155,3 +155,8 @@ function genpass() {
< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c "$length" ; echo
}
function percept-dev() {
binary=$( cd ~/repos/percept ; export DIRENV_LOG_FORMAT= ; eval "$(direnv export bash)" ; cabal build >&2 ; cabal list-bin photo-hs )
"$binary" "$@"
}

View file

@ -107,13 +107,12 @@ in {
# wine
winetricks
(combineWines [inputs'.nix-gaming.packages.${pkgs.stdenv.system}.wine-ge wineWowPackages.staging])
(combineWines [inputs'.nix-gaming.packages.${pkgs.stdenv.system}.wine-tkg wineWowPackages.staging])
# 3d printing
openscad
freecad
cura
orca-slicer
prusa-slicer
thingiverse-downloader-bash

View file

@ -65,6 +65,7 @@ in {
environment.systemPackages = [
kernelPackages.turbostat
];
environment.variables.NOUVEAU_USE_ZINK = "1";
hardware.cpu.intel.updateMicrocode = true;
@ -132,7 +133,7 @@ in {
specialisation.nvidia.configuration = {config, ...}: {
environment.variables.NIXOS_SPECIALISATION = "nvidia";
boot.loader.grub.enable = mkOverride 0 false;
boot.kernelPackages = mkForce pkgs.linuxPackages_6_6;
boot.kernelPackages = mkForce pkgs.linuxPackages_6_10;
boot.kernelParams = [
"nvidia.NVreg_EnableS0ixPowerManagement=1"
"nvidia.NVreg_S0ixPowerManagementVideoMemoryThreshold=2048"