From db244e2927082e01b94549a82701628b831bdef6 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Wed, 1 Oct 2025 08:43:55 -0400 Subject: [PATCH 1/8] Add connection sharing capability --- hosts/default/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index b04684d..1877c8c 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -209,7 +209,8 @@ in networking.firewall = { enable = true; allowedTCPPorts = [ 9003 ]; - allowedUDPPorts = [ 51820 ]; + # 53/67 temporarily allowed for connection sharing/dhcp + allowedUDPPorts = [ 53 67 51820 ]; # if packets are still dropped, they will show up in dmesg logReversePathDrops = true; checkReversePath = "loose"; @@ -235,6 +236,7 @@ in # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + dnsmasq # temporarily allowed for connection sharing ansible # automation/software-defined-configuration tool binutils # gnu bin utils # conda # python environment management From 5c9a9b79c651376a8c44dd414adf19eb0081b5fa Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Thu, 2 Oct 2025 10:10:47 -0400 Subject: [PATCH 2/8] Update flake.lock --- flake.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index dea3b17..cf47d56 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1758985165, - "narHash": "sha256-bzthrGCHUDzUHH9F3eNl5LG5rfg4ig9x3TGjjUE23qA=", + "lastModified": 1759337100, + "narHash": "sha256-CcT3QvZ74NGfM+lSOILcCEeU+SnqXRvl1XCRHenZ0Us=", "owner": "nix-community", "repo": "home-manager", - "rev": "11cc3d55ded3346a8195000ddeadde782a611e56", + "rev": "004753ae6b04c4b18aa07192c1106800aaacf6c3", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1758690382, - "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", + "lastModified": 1759036355, + "narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e643668fd71b949c53f8626614b21ff71a07379d", + "rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127", "type": "github" }, "original": { From 613874d76c551c3c3bfdde12b33f61a118748f01 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Sat, 4 Oct 2025 11:39:45 -0400 Subject: [PATCH 3/8] Attempt to improve I225-V (ethernet) performance --- hosts/default/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 1877c8c..d8e3f8d 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -68,7 +68,7 @@ in boot.kernelModules = [ "kvm-amd" "nct6775" ]; # Fix problems with hanging on RX6700 (disables PSR - Panel Self Refresh) - boot.kernelParams = [ "amdgpu.dcdebugmask=0x10" ]; + boot.kernelParams = [ "amdgpu.dcdebugmask=0x10 pcie_port_pm=off pcie_aspm.policy=performance" ]; boot.extraModulePackages = [ (amdgpu-kernel-module.overrideAttrs (_: { From e98ac1a5e16d9db3c982c520c4a1e65098a2bb14 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Sat, 4 Oct 2025 11:39:52 -0400 Subject: [PATCH 4/8] Add go lang --- hosts/default/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index d8e3f8d..3467c83 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -311,6 +311,7 @@ in gimp # GIMP image manipulation proggy zed-editor # the most hopeful replacement for vscode...if I never learn nvim noisetorch # noise/background filter for mic + go # golang - general purpose programming ]; programs.zsh.enable = true; programs.git = { From 1a9bbf35ce4622b891dec925e88dec09ca967c8b Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Sat, 4 Oct 2025 11:40:06 -0400 Subject: [PATCH 5/8] Just overwrite any vr files --- hosts/default/home.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 0daa07c..28e2116 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -73,7 +73,10 @@ # 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"; + force = true + }; # For WiVRn: #xdg.configFile."openxr/1/active_runtime.json".source = "${pkgs.wivrn}/share/openxr/1/openxr_wivrn.json"; From 00afa1c95fdf1a29cd48118c33f181661d5793d9 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Sat, 4 Oct 2025 11:41:20 -0400 Subject: [PATCH 6/8] ...I like to add semi-colons, but only when they're not needed, it seems --- hosts/default/home.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/default/home.nix b/hosts/default/home.nix index 28e2116..da29966 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -75,7 +75,7 @@ # For Monado: xdg.configFile."openxr/1/active_runtime.json" = { source = "${pkgs.monado}/share/openxr/1/openxr_monado.json"; - force = true + force = true; }; # For WiVRn: From 02cd8d9d3ac0b90f0bd3f1941510e4a4acd5e0f4 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Sat, 4 Oct 2025 11:43:06 -0400 Subject: [PATCH 7/8] Guess you have to wrap each param for kernelParams --- hosts/default/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 3467c83..1a62cfa 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -68,7 +68,7 @@ in boot.kernelModules = [ "kvm-amd" "nct6775" ]; # Fix problems with hanging on RX6700 (disables PSR - Panel Self Refresh) - boot.kernelParams = [ "amdgpu.dcdebugmask=0x10 pcie_port_pm=off pcie_aspm.policy=performance" ]; + boot.kernelParams = [ "amdgpu.dcdebugmask=0x10" "pcie_port_pm=off" "pcie_aspm.policy=performance" ]; boot.extraModulePackages = [ (amdgpu-kernel-module.overrideAttrs (_: { From 38ad3ca02a8a596a0572cad3010d45b956b0a75d Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Wed, 8 Oct 2025 23:20:00 -0400 Subject: [PATCH 8/8] Testing pipeline stuff --- .forgejo/workflows/test.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .forgejo/workflows/test.yml diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml new file mode 100644 index 0000000..d7d0dd4 --- /dev/null +++ b/.forgejo/workflows/test.yml @@ -0,0 +1,27 @@ +on: + workflow_dispatch: + +jobs: + build: + runs-on: docker + container: + image: git.agaric.com/agaric/deploycontainer:0.0.5 + env: + COMPOSER_IGNORE_PLATFORM_REQS: 1 + COMPOSER_ARGS: "install --no-dev --no-progress --no-interaction --no-scripts --optimize-autoloader" + steps: + - name: checkout + uses: actions/checkout@v3 + - name: inspect environment + shell: "bash --noprofile --norc -exo pipefail {0}" + run: | + env + jq . - <<'EOF' + ${{ toJSON(github) }} + EOF + jq . - <<'EOF' + ${{ toJSON(forge) }} + EOF + jq . - <<'EOF' + ${{ toJSON(secrets) }} + EOF