Skip to content

chore(gui): re-enable spotify & obsidian #430

chore(gui): re-enable spotify & obsidian

chore(gui): re-enable spotify & obsidian #430

Workflow file for this run

# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/home-build.yml") and run:
# nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
jobs:
build-home-manager-and-graph:
environment:
name: dev
permissions:
contents: write
id-token: write
runs-on: macos-15-intel
steps:
- name: Checkout repo
uses: actions/checkout@main
with:
fetch-depth: 1
persist-credentials: true
- name: Install Nix
uses: nixbuild/nix-quick-install-action@master
- name: Magic Nix Cache(Use Github Actions Cache)
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Configure to use personal binary cache @ Cachix
uses: cachix/cachix-action@master
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: divitmittal
- name: SSH-agent with auth for private repos
uses: webfactory/ssh-agent@master
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Builds a home-manager configuration
run: nix build --accept-flake-config .#homeConfigurations.L1.activationPackage
--show-trace
- name: Generate home-manager dependency graph
run: nix -vL run github:craigmbooth/nix-visualize -- --verbose --output ./assets/home_graph.png
./result
- name: Invert graph colors
run: nix run nixpkgs#imagemagick -- convert ./assets/home_graph.png -channel
RGB -negate +channel ./assets/home_graph.png
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Push to repo
run: |-
git config --global user.name "GitHub Actions Bot"
git config --global user.email bot@github.com
git add .
git commit -m "chore: update home-manager dependency graph" || echo "No changes to commit"
git pull --rebase origin master
git push origin master
timeout-minutes: 120
'on':
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.adoc'
- '**/*.jpeg'
- '**/*.jpg'
- '**/*.png'
- '**/*.svg'
- .github/**
- .git*
- assets/**
- common/hosts/**
- hosts/**
- modules/hosts/**
push:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.adoc'
- '**/*.jpeg'
- '**/*.jpg'
- '**/*.png'
- '**/*.svg'
- .github/**
- .git*
- assets/**
- common/hosts/**
- hosts/**
- modules/hosts/**
workflow_dispatch: {}