Skip to content

Commit

Permalink
Update other stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
ifd3f committed Jan 1, 2024
1 parent ce9f9ef commit 5ddf998
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 23 deletions.
82 changes: 82 additions & 0 deletions .github/workflows/check-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -101,6 +103,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -142,6 +146,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -183,6 +189,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -229,6 +237,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -270,6 +280,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -331,6 +343,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -373,6 +387,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -416,6 +432,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -477,6 +495,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -519,6 +539,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -580,6 +602,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -628,6 +652,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -676,6 +702,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -718,6 +746,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -762,6 +792,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -824,6 +856,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -862,6 +896,50 @@ jobs:
'
strategy:
fail-fast: false
nixos-system-xn--vp9h:
name: NixOS sys. xn--vp9h
needs:
- nixos-system-__baseServer
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- env:
KNOWN_HOSTS: ${{ env.KNOWN_HOSTS }}
name: Append to known_hosts
run: 'echo ''\n'' >> ~/.ssh/known_hosts
echo "$KNOWN_HOSTS" >> ~/.ssh/known_hosts
'
- uses: cachix/install-nix-action@v22
with:
extra_nix_config: 'experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: astralbijection
- env:
TARGET_FLAKE: ${{ env.TARGET_FLAKE }}
name: Build targets
run: GC_DONT_GC=1 nix build --show-trace --log-lines 10000 --fallback "$TARGET_FLAKE#"'nixosConfigurations.xn--vp9h.config.system.build.toplevel'
- if: ${{ always() }}
name: Log remaining space
run: 'echo "=== Space left after build ==="
df -h
'
strategy:
fail-fast: false
nixos-system-yato:
name: NixOS sys. yato
needs:
Expand All @@ -885,6 +963,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down Expand Up @@ -932,6 +1012,8 @@ jobs:
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
allowUnfree = true
'
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
Expand Down
27 changes: 5 additions & 22 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nix/home-manager/astral/cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ in with lib; {
enable = true;
initExtra = commonProfile;
enableCompletion = true;
enableSyntaxHighlighting = true;
syntaxHighlighting.enable = true;

autocd = true;
defaultKeymap = "emacs";
Expand Down
1 change: 1 addition & 0 deletions nix/lib/github-actions.nix
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ with lib; rec {
extra_nix_config = ''
experimental-features = nix-command flakes
access-tokens = github.com=${ghexpr "secrets.GITHUB_TOKEN"}
allowUnfree = true
'';
};
}
Expand Down

0 comments on commit 5ddf998

Please sign in to comment.