Compare commits
2 commits
172f5e758a
...
69a2e20e8f
Author | SHA1 | Date | |
---|---|---|---|
69a2e20e8f | |||
c23bd243f7 |
2 changed files with 34 additions and 27 deletions
|
@ -6,25 +6,25 @@ on:
|
|||
paths:
|
||||
- 'flake.lock'
|
||||
- 'home/programs/nvim/plugins.nix'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-x86_64-linux:
|
||||
runs-on: ubuntu-latest
|
||||
build-amd64-linux:
|
||||
runs-on: ubuntu-latest-amd64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check Flake
|
||||
uses: DeterminateSystems/flake-checker-action@v5
|
||||
with:
|
||||
send-statistics: false
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v4
|
||||
- name: Run the Magic Nix Cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v1
|
||||
- uses: cachix/cachix-action@v12
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
||||
with:
|
||||
name: nifoc
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
init: none
|
||||
planner: linux
|
||||
github-token: null
|
||||
- name: Setup Attic
|
||||
uses: https://github.com/ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- run: nix build '.#nixosConfigurations.tanker.pkgs.attic-server'
|
||||
- run: nix build '.#nixosConfigurations.tanker.pkgs.attic-client'
|
||||
- run: nix build '.#nixosConfigurations.tanker.pkgs.deploy-rs'
|
||||
|
@ -32,15 +32,22 @@ jobs:
|
|||
- run: nix build '.#nixosConfigurations.tanker.config.home-manager.users.daniel.programs.neovim.finalPackage'
|
||||
|
||||
build-arm64-linux:
|
||||
runs-on: buildjet-2vcpu-ubuntu-2204-arm
|
||||
runs-on: ubuntu-latest-arm64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v4
|
||||
- uses: cachix/cachix-action@v12
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@v4
|
||||
with:
|
||||
name: nifoc
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
init: none
|
||||
planner: linux
|
||||
github-token: null
|
||||
- name: Setup Attic
|
||||
uses: https://github.com/ryanccn/attic-action@v0
|
||||
with:
|
||||
endpoint: ${{ secrets.ATTIC_ENDPOINT }}
|
||||
cache: ${{ secrets.ATTIC_CACHE }}
|
||||
token: ${{ secrets.ATTIC_TOKEN }}
|
||||
- run: nix build '.#nixosConfigurations.argon.pkgs.attic-client'
|
||||
- run: nix build '.#nixosConfigurations.argon.pkgs.deploy-rs'
|
||||
- run: nix build '.#nixosConfigurations.argon.config.services.nginx.package'
|
18
flake.lock
18
flake.lock
|
@ -109,11 +109,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1694763556,
|
||||
"narHash": "sha256-csMoysn8NrVAaPuhAB64nRd4CeH+yXEdFcYf04vFfw0=",
|
||||
"lastModified": 1694808292,
|
||||
"narHash": "sha256-zSZ8IfZfv6nK0z+wNuM0Tqx6c9b4+Q5Xn9FIpunWBwA=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "8aa6ec5ff220f1d9749d636dbeb46ec929f112dc",
|
||||
"rev": "0faae8adf6d790df2c3d00437ccad7cd5c531c70",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -366,11 +366,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1694497842,
|
||||
"narHash": "sha256-z03v/m0OwcLBok97KcUgMl8ZFw5Xwsi2z+n6nL7JdXY=",
|
||||
"lastModified": 1694810318,
|
||||
"narHash": "sha256-LuvrVj2oj9TzdnnwtQUClqcXjpgwCP01FFVBM7azGV8=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "4496ab26628c5f43d2a5c577a06683c753e32fe2",
|
||||
"rev": "80bb201f4925cdda5a7a3c7b1900fb26bb2af2e8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -397,11 +397,11 @@
|
|||
},
|
||||
"nixos-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1694669921,
|
||||
"narHash": "sha256-6ESpJ6FsftHV96JO/zn6je07tyV2dlLR7SdLsmkegTY=",
|
||||
"lastModified": 1694767346,
|
||||
"narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "f2ea252d23ebc9a5336bf6a61e0644921f64e67c",
|
||||
"rev": "ace5093e36ab1e95cb9463863491bee90d5a4183",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Reference in a new issue