From 5465b13ef98cf786ed5c2bacac2d4857db9e82e9 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Tue, 29 Apr 2025 11:24:31 +0200 Subject: [PATCH] feat: update .bashrc for GPU configuration and add Miniconda to PATH; remove unused packages from Nix configuration --- .bashrc | 9 +++++++++ config/home-manager/packages/workstation/packages.nix | 3 --- vscode/settings.json | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 99ac8f8..f3a0ed8 100644 --- a/.bashrc +++ b/.bashrc @@ -3,6 +3,12 @@ HISTFILE=~/.bash_history HISTSIZE=1000 HISTFILESIZE=2000 # Adjusted to match both histfile and size criteria +# GPU Related shenanigans +if [ "$(hostname)" = "mennos-desktop" ]; then + export DRI_PRIME=1 + export MESA_VK_DEVICE_SELECT=1002:744c +fi + # Docker Compose Alias (Mostly for old shell scripts) alias docker-compose='docker compose' @@ -76,6 +82,9 @@ if [ -d "$HOME/.local/share/pnpm" ]; then export PATH=$PATH:$HOME/.local/share/pnpm fi +# Miniconda +export PATH="$HOME/miniconda3/bin:$PATH" + # In case $HOME/.flutter/flutter/bin is found, we can add it to the PATH if [ -d "$HOME/.flutter/flutter/bin" ]; then export PATH=$PATH:$HOME/.flutter/flutter/bin diff --git a/config/home-manager/packages/workstation/packages.nix b/config/home-manager/packages/workstation/packages.nix index 8b7ca1b..e918b66 100644 --- a/config/home-manager/packages/workstation/packages.nix +++ b/config/home-manager/packages/workstation/packages.nix @@ -16,8 +16,6 @@ in mission-center # Task Manager like Windows 11 gnome-tweaks pinta # Paint.NET alternative - bottles # Wine manager - spacedrive # Virtual filesystem manager smile # Emoji picker gnome-boxes # Virtual machine manager deja-dup # Backup tool @@ -49,7 +47,6 @@ in openra xonotic mindustry - wesnoth shattered-pixel-dungeon ### Games launchers diff --git a/vscode/settings.json b/vscode/settings.json index 41543f8..163f9d2 100755 --- a/vscode/settings.json +++ b/vscode/settings.json @@ -1,6 +1,6 @@ { "security.workspace.trust.untrustedFiles": "open", - "window.zoomLevel": 1.2, + "window.zoomLevel": 0.8, "editor.fontFamily": "Hack Nerd Font", "terminal.integrated.fontFamily": "Hack Nerd Font", "github.copilot.enable": {