diff options
| author | 2025-01-13 22:43:02 -0500 | |
|---|---|---|
| committer | 2025-01-13 22:43:02 -0500 | |
| commit | dce9ab07ae0b0496e432f213466fd6f442944fa7 (patch) | |
| tree | 74ea43a6771d244e04c1f8a33a61750cda0bdac1 /nix | |
| parent | 2d35d8e272b4d5725c686be5d2b4436a55fe8141 (diff) | |
| download | dotfiles-dce9ab07ae0b0496e432f213466fd6f442944fa7.tar.gz dotfiles-dce9ab07ae0b0496e432f213466fd6f442944fa7.tar.bz2 dotfiles-dce9ab07ae0b0496e432f213466fd6f442944fa7.zip | |
Improve NFS options, misc stuff
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/gaming.nix | 9 | ||||
| -rw-r--r-- | nix/programs/sway.nix | 2 | ||||
| -rw-r--r-- | nix/scripts.nix | 1 | ||||
| -rw-r--r-- | nix/settings.nix | 8 | ||||
| -rw-r--r-- | nix/utils.nix | 8 |
5 files changed, 12 insertions, 16 deletions
diff --git a/nix/gaming.nix b/nix/gaming.nix index 170b565..bc61623 100644 --- a/nix/gaming.nix +++ b/nix/gaming.nix @@ -15,9 +15,9 @@ in { jdk21 retroarch dolphin-emu - #pcsx2 + pcsx2 (ppsspp.override { enableQt = true; }) - #cemu + cemu rpcs3 ryujinx osu-lazer-bin @@ -34,13 +34,8 @@ in { export DXVK_HUD=compiler export DXVK_LOG_LEVEL=none export VKD3D_CONFIG=dxr,small_vram_rebar - #export VKD3D_CONFIG=dxr,disable_uav_compression export VKD3D_DEBUG=none export VKD3D_SHADER_DEBUG=none - #export VKD3D_FEATURE_LEVEL=12_2 - #export VKD3D_SHADER_MODEL=6_7 - #export WINEDLLOVERRIDES="dinput8,loader=n,b" - #export STEAM_COMPAT_MOUNTS=/mnt/ssd/SteamLibrary:/mnt/hdd/Tools export mesa_glthread=true xrandr --output ${s.monitors.monitor1} --primary exec env --unset=SDL_VIDEODRIVER MANGOHUD=1 gamemoderun "$@" diff --git a/nix/programs/sway.nix b/nix/programs/sway.nix index 8b86d86..8206031 100644 --- a/nix/programs/sway.nix +++ b/nix/programs/sway.nix @@ -266,7 +266,7 @@ in { { command = "floating enable"; criteria.class = "cmv.exe"; } { command = "floating enable"; criteria.app_id = "mauri"; } { command = "inhibit_idle fullscreen"; criteria.title = "Parsec"; } - { command = "inhibit_idle fullscreen"; criteria.class = "steam_app_.*"; } + { command = "inhibit_idle fullscreen; allow_tearing yes"; criteria.class = "steam_app_.*"; } { command = "inhibit_idle fullscreen; allow_tearing yes; floating enable"; criteria.app_id = "gamescope"; } { command = "inhibit_idle fullscreen; allow_tearing yes"; criteria.class = ".gamescope-wrapped"; } { command = "inhibit_idle fullscreen; allow_tearing yes"; criteria.app_id = "osu!"; } diff --git a/nix/scripts.nix b/nix/scripts.nix index c4146e1..61751e1 100644 --- a/nix/scripts.nix +++ b/nix/scripts.nix @@ -4,6 +4,7 @@ let script-files = [ "dbus-sway-environment" "dmenu-path" + "dmenu-path0" "dmenu-emoji" "cpu-vulns" "battery" diff --git a/nix/settings.nix b/nix/settings.nix new file mode 100644 index 0000000..743529c --- /dev/null +++ b/nix/settings.nix @@ -0,0 +1,8 @@ +{ + disks = { + nfs_options = [ "noatime" "nodiratime" "rw" "bg" "hard" "fsc" "proto=tcp" "timeo=600" "nfsvers=4" "minorversion=2" "x-systemd.automount" "noauto" "x-systemd.idle-timeout=60" "x-systemd.device-timeout=5s" "x-systemd.mount-timeout=5s" ]; + hdd_options = [ "noatime" ]; + cdrom_options = [ "ro" "user" "noauto" "unhide" ]; + ntfs_options = [ "uid=1000" "gid=100" "rw" "user" "exec" "umask=000" ]; + }; +} diff --git a/nix/utils.nix b/nix/utils.nix deleted file mode 100644 index a0350a0..0000000 --- a/nix/utils.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - disks = { - nfs_options = [ "noatime" "nodiratime" "rw" "bg" "hard" "intr" "rsize=65536" "wsize=65536" "tcp" "timeo=600" "nfsvers=4.1" "x-systemd.automount" "noauto" "x-systemd.idle-timeout=60" "x-systemd.device-timeout=5s" "x-systemd.mount-timeout=5s" ]; - hdd_options = [ "noatime" ]; - cdrom_options = [ "ro" "user" "noauto" "unhide" ]; - ntfs_options = [ "uid=1000" "gid=100" "rw" "user" "exec" "umask=000" ]; - }; -} |