Compare commits

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

26 commits

Author SHA1 Message Date
Chris (wolcen) Thompson
424ab17f68 Re-enable rocm...turns out it wasn't just hipblaslt, but also aortriton
https://github.com/NixOS/nixpkgs/issues/453992
2025-10-24 23:27:41 -04:00
Chris (wolcen) Thompson
c00381c4dd Give Cosmic desktop a try...finally
They say it's in beta(3)!
2025-10-24 23:25:29 -04:00
Chris (wolcen) Thompson
3f9e75d9d4 TEMPORARY: comment failing builds 2025-10-24 23:24:57 -04:00
Chris (wolcen) Thompson
7905d11c86 Update flake.lock
Note: this version seems to have some KDE issues (see next commit w/commented failures)
2025-10-24 23:24:20 -04:00
Chris (wolcen) Thompson
18cbefbcbc 'remember' how to do a secret
All checks were successful
/ build (push) Successful in 4s
2025-10-15 20:11:49 -04:00
Chris (wolcen) Thompson
b2dabec02a Couldn't access secrets...no surprise, really 2025-10-15 20:09:54 -04:00
Chris (wolcen) Thompson
e5ffd8fa97 Quotes?
All checks were successful
/ build (push) Has been skipped
2025-10-15 20:09:06 -04:00
Chris (wolcen) Thompson
8fdcb807b4 Try gomplate
Some checks failed
/ build (push) Failing after 0s
2025-10-15 20:07:32 -04:00
Chris (wolcen) Thompson
3542329bf7 Use full url for things not on forgejo
All checks were successful
/ build (push) Has been skipped
2025-10-15 19:13:50 -04:00
Chris (wolcen) Thompson
2680e194f9 Test secrets in jinja template
All checks were successful
/ build (push) Has been skipped
2025-10-15 19:12:45 -04:00
Chris (wolcen) Thompson
a869609a3a hrm...try single quotes
All checks were successful
/ build (push) Has been skipped
2025-10-15 18:28:41 -04:00
Chris (wolcen) Thompson
c9288b7f4d Use || instead of 'or'
Some checks failed
/ build (push) Failing after 0s
2025-10-15 18:27:53 -04:00
Chris (wolcen) Thompson
c83fa12004 Add vars check/and if expression
Some checks failed
/ build (push) Failing after 0s
2025-10-15 18:24:46 -04:00
Chris (wolcen) Thompson
7454f7a48e Update flake.lock
All checks were successful
/ build (push) Successful in 4s
Still doesn't build w/rocm accel (but does w/out)
2025-10-15 18:21:45 -04:00
Chris (wolcen) Thompson
352ce6b38a Test what inputs looks like when running via push 2025-10-15 18:21:17 -04:00
Chris (wolcen) Thompson
b032bbfabb Fix current issues compiling hipblaslt
...disables GPU acceleration, but better than running out of ram when it fails to build
2025-10-15 14:56:46 -04:00
Chris (wolcen) Thompson
3f3eef5f28 Replace deprecated AMDVLK
Defaults to RADV
2025-10-15 14:56:09 -04:00
Chris (wolcen) Thompson
4b43add3b9 Add h264 client
...still hasn't fixed RDP white-screen from Archie
2025-10-15 14:55:31 -04:00
Chris (wolcen) Thompson
d3d95bf930 Update flake.lock 2025-10-15 14:54:31 -04:00
Chris (wolcen) Thompson
16048d0c68 Add a couple utilities: dos2unix + freerdp client 2025-10-14 13:44:58 -04:00
Chris (wolcen) Thompson
38ad3ca02a Testing pipeline stuff 2025-10-08 23:20:00 -04:00
Chris (wolcen) Thompson
02cd8d9d3a Guess you have to wrap each param for kernelParams 2025-10-04 11:43:06 -04:00
Chris (wolcen) Thompson
00afa1c95f ...I like to add semi-colons, but only when they're not needed, it seems 2025-10-04 11:41:20 -04:00
Chris (wolcen) Thompson
1a9bbf35ce Just overwrite any vr files 2025-10-04 11:40:06 -04:00
Chris (wolcen) Thompson
e98ac1a5e1 Add go lang 2025-10-04 11:39:52 -04:00
Chris (wolcen) Thompson
613874d76c Attempt to improve I225-V (ethernet) performance 2025-10-04 11:39:45 -04:00
5 changed files with 86 additions and 19 deletions

View file

@ -0,0 +1,49 @@
on:
push:
paths:
- '**/test.yml'
workflow_dispatch:
inputs:
boolean:
description: 'Boolean'
required: true
type: boolean
jobs:
build:
runs-on: docker
if: inputs.boolean || vars.RUN_DEFAULT == '1'
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"
SHHH: "${{ secrets.SHHH }}"
steps:
- name: checkout
uses: actions/checkout@v3
- name: Run Gomplate Action
uses: https://github.com/ammarlakis/action-gomplate@v1
with:
input_file: 'testing.template'
output_file: 'testing.md'
- 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
jq . - <<'EOF'
${{ toJSON(inputs) }}
EOF
jq . - <<'EOF'
${{ toJSON(vars) }}
EOF
cat testing.md

12
flake.lock generated
View file

@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1759337100,
"narHash": "sha256-CcT3QvZ74NGfM+lSOILcCEeU+SnqXRvl1XCRHenZ0Us=",
"lastModified": 1761344779,
"narHash": "sha256-6LNSptFYhiAd0M/maJoixJw7V0Kp5BSoMRtIahcfu3M=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "004753ae6b04c4b18aa07192c1106800aaacf6c3",
"rev": "c644cb018f9fdec55f5ac2afb4713a8c7beb757c",
"type": "github"
},
"original": {
@ -22,11 +22,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1759036355,
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
"lastModified": 1761114652,
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127",
"rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c",
"type": "github"
},
"original": {

View file

@ -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 (_: {
@ -135,9 +135,17 @@ in
# services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6.enable = true;
#services.displayManager.sddm.enable = true;
#services.displayManager.sddm.wayland.enable = true;
#services.desktopManager.plasma6.enable = true;
# Enable the Cosmic Desktop Environment:
# Enable the login manager
services.displayManager.cosmic-greeter.enable = true;
# Enable the COSMIC DE itself
services.desktopManager.cosmic.enable = true;
# Enable XWayland support in COSMIC
services.desktopManager.cosmic.xwayland.enable = true;
# Configure keymap in X11 (presumably, XWayland uses something different?)
#services.xserver.xkb = {
@ -236,6 +244,9 @@ in
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
freerdp # connect to KDE remotely w/RDP instead (KDE 6.1 servers)...seems it's still an xwindows client that's most tested. 🤮
openh264 # rather, this is the client library
dos2unix # convert file line endings
dnsmasq # temporarily allowed for connection sharing
ansible # automation/software-defined-configuration tool
binutils # gnu bin utils
@ -262,7 +273,7 @@ in
amdgpu_top # top-like monitor for AMD GPUs
direnv # autoload .envrc files
zoxide # directory navigator (z)
nextcloud-client # next cloud UI
# nextcloud-client # next cloud UI (also just fialed to build. Gah... damn KDE lib issues
file # show file types
tldr # cli command summary
stress # system workload generator
@ -288,7 +299,7 @@ in
distrobox # instant alternate OS availability
pigz # muti-treaded replacement for gzip
unzip # old standard zip handler
rpi-imager # rasbperry pi os burner util
# rpi-imager # rasbperry pi os burner util (1.9.6 failed build)
# screenkey # broadcast key presses
superfile # cli file manager
mpv # movie player
@ -311,6 +322,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 = {
@ -380,11 +392,11 @@ in
#services.rustdesk-server.openFirewall = false;
# RX 6700 XT setup
hardware.graphics.extraPackages = [
pkgs.amdvlk
#pkgs.amdvlk - replaced by RADV (enabled by default)
pkgs.libcap
pkgs.libva
pkgs.mesa
pkgs.rocmPackages.clr.icd
#pkgs.rocmPackages.clr.icd ...no idea if this is causing the rocm-related build fail.
#pkgs.pcre2
#pkgs.libselinux
#pkgs.rocmPackages.rocblas
@ -394,17 +406,19 @@ in
#pkgs.rocmPackages.rocm-device-libs
#pkgs.rocmPackages.rpp
];
hardware.graphics.enable = true;
hardware.graphics.enable32Bit = true;
# To enable Vulkan support for 32-bit applications, also add:
hardware.graphics.extraPackages32 = [
pkgs.driversi686Linux.amdvlk
];
#hardware.graphics.extraPackages32 = [
# pkgs.driversi686Linux.amdvlk - replaced by RADV..hopefully also 32-bit enabled by default.
#];
hardware.amdgpu.opencl.enable = true;
services.ollama = {
enable = true;
acceleration = "rocm";
acceleration = "rocm"; # hipblaslt not compiling at present
environmentVariables = {
HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore
OLLAMA_LOAD_TIMEOUT = "2m"; # Reduce load timeout (from 5 min)...if it's that big, forget it.

View file

@ -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";

1
testing.template Normal file
View file

@ -0,0 +1 @@
{{ .Env.SHHH }}