#17 Set nix_path to nixos-24.05, add Run deploy-rs from flake, trigger workflow
All checks were successful
Deploy NixOS System Configurations to Silver-Hand Hosts / deploy (push) Successful in 4m56s

This commit is contained in:
Joey Hafner 2024-10-25 16:34:01 -07:00
parent c27ddb2bfd
commit 0c66fa4a0b
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View File

@ -18,7 +18,11 @@ jobs:
uses: cachix/install-nix-action@v30 uses: cachix/install-nix-action@v30
with: with:
github_access_token: ${{ secrets.RUNNER_GITHUB_TOKEN }} github_access_token: ${{ secrets.RUNNER_GITHUB_TOKEN }}
nix_path: nixpkgs=channel:nixos-24.05
- name: Check Nix Install - name: Check Nix Install
run: | run: |
nix flake show github:NixOS/nixpkgs nix flake show github:NixOS/nixpkgs
nix --version nix --version
- name: Run deploy-rs from flake
run: |
nix run github:serokell/deploy-rs#defaultPackage.x86_64-linux -- --version

View File

@ -12,7 +12,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = inputs@{ self, nixpkgs, deploy-rs, home-manager, ... }: outputs = inputs@{ self, nixpkgs, deploy-rs, ... }:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import inputs.nixpkgs { pkgs = import inputs.nixpkgs {