mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-22 08:04:20 +01:00
Omen things
Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
parent
f9cef34606
commit
f8023c8d72
|
@ -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" "$@"
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue