chore(images): Swap to eog
Some checks failed
Docs / Build (push) Failing after 3s

This commit is contained in:
DashieTM 2025-12-20 14:41:57 +01:00
parent afaba29554
commit 701048e10f
4 changed files with 21 additions and 43 deletions

View file

@ -1,58 +1,36 @@
# by https://github.com/danth/stylix/blob/master/.github/workflows/docs.yml # by https://github.com/danth/stylix/blob/master/.github/workflows/docs.yml
name: Docs name: Docs
on: on:
push: push:
branches: branches:
- main - main
jobs: jobs:
build: build:
name: Build name: Build
permissions: permissions:
contents: read contents: read
runs-on: nixos-latest
runs-on: ubuntu-latest
steps: steps:
- name: Install Nix - name: Nix Config
uses: DeterminateSystems/nix-installer-action@main run: |
with: mkdir -p $HOME/.config
github-token: ${{ secrets.GITHUB_TOKEN }} mkdir -p $HOME/.config/nix
extra-conf: | echo \
extra-experimental-features = nix-command flakes pipe-operators experimental-features = nix-command flakes pipe-operators \
access-tokens = github.com=${{ secrets.GITHUBTOKEN }} \
- name: Set up cache >> $HOME/.config/nix/nix.conf
uses: DeterminateSystems/magic-nix-cache-action@main nix profile install nixpkgs#nodejs
- name: Build docs - name: Build docs
run: nix -L build github:${{ github.repository }}/${{ github.sha }}#docs --no-write-lock-file run: nix -L build git+https://git.dashie.org/${{ forgejo.repository }}.git?rev=${{ forgejo.sha }}#docs --no-write-lock-file
- name: Prepare docs for upload - name: Prepare docs for upload
run: cp -r --dereference --no-preserve=mode,ownership result/ public/ run: cp -r --dereference --no-preserve=mode,ownership result/ public/
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: https://data.forgejo.org/actions/upload-artifact@v4
with: with:
path: public/ path: public/
- name: Publish Page
deploy: uses: https://data.forgejo.org/actions/git-pages@v2
name: Deploy with:
site: https://xetibo.git.dashie.page/reponame/
needs: build token: ${{ forge.token }}
source: _site/
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy docs to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

View file

@ -87,7 +87,7 @@
# audio control # audio control
playerctl playerctl
# images # images
imv eog
# videos # videos
mpv mpv
# pdf # pdf

View file

@ -85,7 +85,7 @@ in {
description = "Applications used for handling browser mime types"; description = "Applications used for handling browser mime types";
}; };
imageApplications = lib.mkOption { imageApplications = lib.mkOption {
default = ["imv"]; default = ["eog"];
example = []; example = [];
type = with lib.types; listOf str; type = with lib.types; listOf str;
description = "Applications used for handling image mime types"; description = "Applications used for handling image mime types";

View file

@ -31,7 +31,7 @@
]; ];
image = [ image = [
{ {
run = ''imv "$@"''; run = ''eog "$@"'';
orphan = true; orphan = true;
display_name = "Open"; display_name = "Open";
} }