This commit is contained in:
parent
3f84744ae4
commit
f8417a5f64
2 changed files with 6 additions and 4 deletions
|
|
@ -91,7 +91,7 @@
|
|||
clean = "sudo nix-collect-garbage -d";
|
||||
ll = "ls -alh";
|
||||
clear = "command clear";
|
||||
reboot = "sudo systemctl reboot";
|
||||
reboot = "bash -c 'if [ \"$(hostname)\" = \"FredOS-Mediaserver\" ]; then read -r -p \"Reboot $(hostname)? [y/N] \" confirm; case \"$confirm\" in [Yy]) ;; *) exit 0 ;; esac; fi; sudo systemctl reboot'";
|
||||
};
|
||||
|
||||
# Add packages
|
||||
|
|
|
|||
|
|
@ -33,9 +33,6 @@
|
|||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
extraCompatPackages = [
|
||||
inputs.proton-cachyos-nix.packages.${pkgs.stdenv.hostPlatform.system}.proton-cachyos-x86_64-v3
|
||||
];
|
||||
package = pkgs.steam.override {
|
||||
extraPkgs = pkgs: with pkgs; [
|
||||
adwaita-icon-theme
|
||||
|
|
@ -84,6 +81,11 @@
|
|||
home-manager.users.fred = { ... }: {
|
||||
wayland.windowManager.hyprland.settings.monitor =
|
||||
[ "DP-2,3440x1440@180,0x0,1" ];
|
||||
|
||||
# Faugus scans compatibilitytools.d directly, not STEAM_EXTRA_COMPAT_TOOLS_PATHS,
|
||||
# so we symlink the nix-managed tool into the directory it actually checks.
|
||||
home.file.".local/share/Steam/compatibilitytools.d/proton-cachyos".source =
|
||||
inputs.proton-cachyos-nix.packages.x86_64-linux.proton-cachyos-x86_64-v3.steamcompattool;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue