Compare commits

...
Sign in to create a new pull request.

8 commits
main ... novr

Author SHA1 Message Date
Chris (wolcen) Thompson
430d2fdb1f Update flake.lock 2025-06-27 20:38:28 -04:00
Chris (wolcen) Thompson
50e1cab175 Update firewall rules for Ollama server 2025-06-08 12:16:54 -04:00
Chris (wolcen) Thompson
5d831405a0 Add disable panel self-refresh to fix AMDGPU bug/hang and switch back to zen kernel 2025-06-08 12:16:37 -04:00
Chris (wolcen) Thompson
16b1667373 Update flake.lock 2025-06-08 12:15:56 -04:00
Chris (wolcen) Thompson
73146c6a5d Clean up comments
and yes, it existed
2025-06-02 13:35:59 -04:00
Chris (wolcen) Thompson
6dfade4734 Ensure firewall is active
...it was, but there's still a rule I don't understand, despite nmap results looking good
2025-06-02 13:35:32 -04:00
Chris (wolcen) Thompson
881db84a26 Update nix flake.lock 2025-06-01 12:55:07 -04:00
Chris (wolcen) Thompson
fa636e3eaf Disable VR-related settings 2025-06-01 12:45:58 -04:00
3 changed files with 40 additions and 43 deletions

12
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1748737919,
"narHash": "sha256-5kvBbLYdp+n7Ftanjcs6Nv+UO6sBhelp6MIGJ9nWmjQ=",
"lastModified": 1750973805,
"narHash": "sha256-BZXgag7I0rnL/HMHAsBz3tQrfKAibpY2vovexl2lS+Y=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "5675a9686851d9626560052a032c4e14e533c1fa",
"rev": "080e8b48b0318b38143d5865de9334f46d51fce3",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1748460289,
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
"lastModified": 1750776420,
"narHash": "sha256-/CG+w0o0oJ5itVklOoLbdn2dGB0wbZVOoDm4np6w09A=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
"rev": "30a61f056ac492e3b7cdcb69c1e6abdcf00e39cf",
"type": "github"
},
"original": {

View file

@ -55,11 +55,14 @@
# Temporarily pin to 6.12 to fix llvm/rocm build
# https://github.com/NixOS/nixpkgs/issues/368672#issuecomment-2608697421
# boot.kernelPackages = pkgs.linuxPackages_6_12;
# boot.kernelPackages = pkgs.linuxPackages_zen;
boot.kernelPackages = pkgs.linuxPackages_zen;
# nct6775 - for monitoring functions on ASUS ROG STRIX B550-F GAMING WIFI II
# kvm-amd - AMD virtualization support
boot.kernelModules = [ "kvm-amd" "nct6775" ];
# Problems with hangs on RX6700
boot.kernelParams = [ "amdgpu.dcdebugmask=0x10" ];
# Direct patching for enabling for async reprojection (for SteamVR) on AMD
# boot.kernelPatches = [
# {
@ -190,6 +193,7 @@
#networking.firewall.allowedTCPPorts = [ 9003 ];
networking.firewall = {
enable = true;
allowedTCPPorts = [ 9003 ];
allowedUDPPorts = [ 51820 ];
# if packets are still dropped, they will show up in dmesg
@ -197,8 +201,8 @@
checkReversePath = "loose";
extraCommands = ''
# Enable connections to Ollama for VPN users:
iptables -t filter -I INPUT --protocol TCP --source 10.40.4.0/24 --destination 10.40.4.2 --dport 8080 -j ACCEPT
iptables -t filter -I INPUT --protocol TCP --source 10.40.4.2/32 --destination 10.40.4.2 --dport 11434 -j ACCEPT
iptables -t filter -I INPUT --protocol TCP --source 10.0.7.0/24 --destination 10.40.4.2 --dport 11434 -j ACCEPT
'';
# wireguard trips rpfilter up
#extraCommands = ''
@ -249,7 +253,6 @@
libreoffice-qt # libreoffice - qt is best for KDE
hunspell # spell checking
hunspellDicts.en_US # spell check dictionary
#corectl # this doesn't exist????
magic-wormhole # transfer files with ease
screen # terminal multiplexer...from GNU
gnumake # build automation tool
@ -271,8 +274,8 @@
lutris # game launcher (EA/Humble/Ubi++)
cruft # python-based template processor
nmap # network mapping/scanning tool
basalt-monado # tracking for VR
opencomposite # compatibility layer for VR
# basalt-monado # tracking for VR
# opencomposite # compatibility layer for VR
# why did these two disappear???
usbutils # provide lsusb, etc.
pciutils # provide lspci, etc.
@ -440,11 +443,11 @@
};
# VR
#Commmand: `renice -20 -p $(pgrep monado)` may help w/issues
services.monado = {
enable = true;
defaultRuntime = true; # Register as default OpenXR runtime
forceDefaultRuntime = true; # Register as default OpenXR runtime for each user (remove home-manager file)
};
# services.monado = {
# enable = true;
# defaultRuntime = true; # Register as default OpenXR runtime
# forceDefaultRuntime = true; # Register as default OpenXR runtime for each user (remove home-manager file)
# };
#systemd.user.services.monado.environment = {
# WMR_HANDTRACKING = "0"; # Enable for hand tracking
# XRT_PRINT_OPTIONS = "1"; # Enable printing env vars set/available
@ -459,12 +462,6 @@
programs.steam.gamescopeSession.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View file

@ -73,30 +73,30 @@
# EDITOR = "emacs";
};
# For Monado:
xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.monado}/share/openxr/1/openxr_monado.json";
# xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.monado}/share/openxr/1/openxr_monado.json";
# For WiVRn:
#xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
# xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json";
xdg.configFile."openvr/openvrpaths.vrpath".text = ''
{
"config" :
[
"${config.xdg.dataHome}/Steam/config"
],
"external_drivers" : null,
"jsonid" : "vrpathreg",
"log" :
[
"${config.xdg.dataHome}/Steam/logs"
],
"runtime" :
[
"${pkgs.opencomposite}/lib/opencomposite"
],
"version" : 1
}
'';
# xdg.configFile."openvr/openvrpaths.vrpath".text = ''
# {
# "config" :
# [
# "${config.xdg.dataHome}/Steam/config"
# ],
# "external_drivers" : null,
# "jsonid" : "vrpathreg",
# "log" :
# [
# "${config.xdg.dataHome}/Steam/logs"
# ],
# "runtime" :
# [
# "${pkgs.opencomposite}/lib/opencomposite"
# ],
# "version" : 1
# }
# '';
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}