Skip to content

updated browser settings #29

updated browser settings

updated browser settings #29

Workflow file for this run

name: build-linux-outputs
on:
push:
branches:
- 'master'
paths:
- nixos/**
- home/**
- .github/workflows/linux.yml
- roles/**
- '!nixos/**.md'
- '!home/**.md'
- '!**.md'
workflow_dispatch:
schedule:
- cron: "0 0 * * Sat"
jobs:
build-linux-env:
name: Build Linux outputs
runs-on: [self-hosted, linux, x64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
extra_nix_config: |
extra-substituters = http://100.69.64.103/nixos
extra-trusted-public-keys = nixos:ZffGHlb0Ng3oXu8cLT9msyOB/datC4r+/K9nImONIec=
- name: Setup Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build Linux outputs
run: |
sudo -s /bin/bash -- <<EOF
source /home/docker/.nix-profile/etc/profile.d/nix.sh
USER=root /home/docker/.nix-profile/bin/nix run nixpkgs#cachix -- use heywoodlh-helix
nix build "github:zhaofengli/attic#attic-client"
which attic &> /dev/null || nix profile install "github:zhaofengli/attic#attic-client"
attic push nixos ./result
/home/docker/.nix-profile/bin/nix run nixpkgs#nixos-rebuild -- build --flake .#nixos-desktop-intel
attic push nixos ./result
/home/docker/.nix-profile/bin/nix run nixpkgs#nixos-rebuild -- build --flake .#nixos-server-intel
attic push nixos ./result
/home/docker/.nix-profile/bin/nix build .#homeConfigurations.heywoodlh.activationPackage --impure
attic push nixos ./result
/home/docker/.nix-profile/bin/nix build .#homeConfigurations.heywoodlh-server.activationPackage --impure
attic push nixos ./result
EOF
build-linux-arm64-env:
name: Build Linux outputs
runs-on: [self-hosted, linux, arm64]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
extra_nix_config: |
extra-substituters = http://100.69.64.103/nixos
extra-trusted-public-keys = nixos:ZffGHlb0Ng3oXu8cLT9msyOB/datC4r+/K9nImONIec=
- name: Setup Nix Magic Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build Linux outputs
run: |
sudo -s /bin/bash -- <<EOF
source /home/docker/.nix-profile/etc/profile.d/nix.sh
USER=root /home/docker/.nix-profile/bin/nix run nixpkgs#cachix -- use heywoodlh-helix
nix build "github:zhaofengli/attic#attic-client"
which attic &> /dev/null || nix profile install "github:zhaofengli/attic#attic-client"
attic push nixos ./result
/home/docker/.nix-profile/bin/nix run nixpkgs#nixos-rebuild -- build --flake .#nixos-arm64-test
attic push nixos ./result
/home/docker/.nix-profile/bin/nix run nixpkgs#nixos-rebuild -- build --flake .#nixos-mac-mini
attic push nixos ./result
/home/docker/.nix-profile/bin/nix build .#homeConfigurations.heywoodlh.activationPackage --impure
attic push nixos ./result
/home/docker/.nix-profile/bin/nix build .#homeConfigurations.heywoodlh-server.activationPackage --impure
attic push nixos ./result
EOF