feat: update input method configurations in ime.nix #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test NixOS Config | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
host: | |
- nixos-vm | |
- work-vm | |
env: | |
NIXPKGS_ALLOW_UNFREE: 1 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Nix | |
uses: cachix/install-nix-action@v27 | |
with: | |
extra_nix_config: | | |
experimental-features = nix-command flakes | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Cache Nix store | |
uses: actions/cache@v4 | |
with: | |
path: /nix/store | |
key: ${{ runner.os }}-nix-${{ hashFiles('**/flake.lock') }} | |
restore-keys: | | |
${{ runner.os }}-nix- | |
- name: Test Nix Flake | |
run: | | |
nix flake check --impure | |
- name: Build NixOS configuration for ${{ matrix.host }} | |
run: | | |
nix build --impure .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel | |