Remove steam, add VSCode
Steam doesn't work well enough on this system, everything is too slow. Try turning it into a VEX dev box instead. Didn't get that working either.
This commit is contained in:
parent
025c672bd2
commit
665a97f97e
|
@ -12,9 +12,8 @@
|
|||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-run"
|
||||
"code"
|
||||
"vscode"
|
||||
"xow_dongle-firmware"
|
||||
];
|
||||
|
||||
|
@ -30,20 +29,6 @@
|
|||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.eliribble = { pkgs, ... }: {
|
||||
home.file.".config/autostart/steam.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Name=Steam
|
||||
Comment=Application for managing and playing games on Steam
|
||||
Exec=steam %U -bigpicture
|
||||
Icon=steam
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Network;FileTransfer;Game;
|
||||
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
|
||||
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
|
||||
PrefersNonDefaultGPU=true
|
||||
X-KDE-RunOnDiscreteGpu=true
|
||||
'';
|
||||
# home.packages = [ pkgs.httpie ];
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
@ -73,6 +58,13 @@
|
|||
set -g window-status-current-style bg=red,fg=white
|
||||
'';
|
||||
};
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscode.fhs;
|
||||
#extensions = with pkgs.vscode-extensions; [
|
||||
#"VEXRobotics.vexcode"
|
||||
#];
|
||||
};
|
||||
|
||||
# The state version is required and should stay at the version you
|
||||
# originally installed.
|
||||
|
@ -110,16 +102,6 @@
|
|||
desktopManager.gnome.enable = true;
|
||||
enable = true;
|
||||
};
|
||||
systemd.user.services.steam = {
|
||||
enable = true;
|
||||
description = "Open Steam in the background at boot";
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.steam}/bin/steam -nochatui -nofriendsui -silent %U";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
@ -152,11 +134,11 @@
|
|||
fish
|
||||
git
|
||||
htop
|
||||
mangohud
|
||||
neovim
|
||||
python3
|
||||
tmux
|
||||
wget
|
||||
vscode
|
||||
];
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
||||
|
@ -179,21 +161,6 @@
|
|||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = false;
|
||||
|
||||
# Set up steam
|
||||
programs = {
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
steam = {
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
enable = true;
|
||||
gamescopeSession.enable = true;
|
||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
};
|
||||
};
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
# accidentally delete configuration.nix.
|
||||
|
|
Loading…
Reference in New Issue