diff --git a/configuration/modules/gaming.nix b/configuration/modules/gaming.nix index f0e15eb..f5a2326 100644 --- a/configuration/modules/gaming.nix +++ b/configuration/modules/gaming.nix @@ -4,6 +4,14 @@ hardware.graphics.enable32Bit = true; # For 32 bit applications hardware.steam-hardware.enable = true; + programs.gamemode.enable = true; + programs.gamescope = { + enable = true; + # capSysNice = true; + # args = [ + # "-H 1080" + # ]; + }; programs.steam = { enable = true; remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play @@ -26,8 +34,6 @@ ]; }; }; - programs.gamemode.enable = true; - programs.gamescope.enable = true; programs.cdemu.enable = true; # Remember to add users to the cdrom group for this to work } diff --git a/devices/tuxedo/configuration.nix b/devices/tuxedo/configuration.nix index c15bf34..99f27d9 100644 --- a/devices/tuxedo/configuration.nix +++ b/devices/tuxedo/configuration.nix @@ -20,6 +20,18 @@ networking.hostName = "tuxedo"; # Define your hostname. + # one day i will fix the fullscreen issue + # https://community.frame.work/t/fullscreen-games-freeze-on-plasma-6-with-dgpu/61088/9 + # https://community.frame.work/t/bug-psa-gpu-bug-causes-crashes-on-kde-plasma/58133/4 + # https://www.reddit.com/r/archlinux/comments/1gzy0xd/amdgpu_regression_on_kernel_612_choppy/ + # https://forum.manjaro.org/t/unstable-update-october-2024-edition/168715/44 + boot.kernelParams = [ + # "amdgpu.dcdebugmask=0x410" + # or amdgpu.dcdebugmask=0x010 + # or amdgpu.dcdebugmask=0x400 + # or both amdgpu.dcdebugmask=0x410 + ]; + boot.extraModprobeConfig = '' options iwlwifi 11n_disable=8 power_save=0 options iwlmvm power_scheme=1 @@ -48,6 +60,10 @@ dumpcap.enable = true; }; + environment.systemPackages = with pkgs;[ + distrobox + ]; + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.worble = { initialPassword = "password"; diff --git a/devices/tuxedo/home.nix b/devices/tuxedo/home.nix index cce3ee0..77af4dc 100644 --- a/devices/tuxedo/home.nix +++ b/devices/tuxedo/home.nix @@ -29,6 +29,7 @@ # comms teams-for-linux + teamspeak6-client # media jellyfin-media-player @@ -76,7 +77,8 @@ config = { profile = "gpu-hq"; vo = "gpu-next"; - gpu-api = "vulkan"; + gpu-api = "opengl"; + gpu-context = "wayland"; hwdec = "vulkan"; screenshot-directory = "/mnt/HDD1/Pictures/"; # screenshot-directory = "~/Pictures/"; diff --git a/flake.nix b/flake.nix index ef3aaa1..cfd95ad 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,7 @@ }; nix-index-database = { - url = "github:nix-community/nix-index-database"; + url = "github:nix-community/nix-index-database?shallow=1"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/home-manager/base.nix b/home-manager/base.nix index ac8d987..8605803 100644 --- a/home-manager/base.nix +++ b/home-manager/base.nix @@ -56,8 +56,6 @@ } ); config = { - video-sync = "display-resample"; - interpolation = "yes"; screenshot-directory = "~/Pictures/"; screenshot-template = "%F/%F_snapshot_%P"; }; diff --git a/home-manager/base/fonts.nix b/home-manager/base/fonts.nix index 4d10e48..243d3ba 100644 --- a/home-manager/base/fonts.nix +++ b/home-manager/base/fonts.nix @@ -2,10 +2,10 @@ { home.packages = with pkgs;[ - liberation_ttf ubuntu-sans ubuntu-sans-mono nerd-fonts.space-mono + corefonts ]; fonts.fontconfig = { diff --git a/home-manager/development/vscode.nix b/home-manager/development/vscode.nix index 2d2f5b1..b58146f 100644 --- a/home-manager/development/vscode.nix +++ b/home-manager/development/vscode.nix @@ -31,6 +31,9 @@ in rust-lang.rust-analyzer tamasfe.even-better-toml mikestead.dotenv + ms-python.python + ms-python.debugpy + charliermarsh.ruff ]) ++ (with vscode-marketplace;[ bradlc.vscode-tailwindcss ]); userSettings = with pkgs;{ "workbench.iconTheme" = "material-icon-theme"; @@ -38,6 +41,9 @@ in "workbench.colorTheme" = "Dracula Theme"; "explorer.compactFolders" = false; "chat.commandCenter.enabled" = false; + "terminal.integrated.automationProfile.linux" = { + "path" = "/bin/sh"; + }; "editor.fontFamily" = "'SpaceMono Nerd Font', 'monospace', monospace"; "editor.fontSize" = 16; @@ -67,7 +73,7 @@ in "editor.defaultFormatter" = "biomejs.biome"; }; "biome.lsp.bin" = "${biome}/bin/biome"; - "biome.requireConfigFile" = true; + #"biome.requireConfigFile" = true; "typescript.preferences.preferTypeOnlyAutoImports" = true;