From 8a10c2e1124e3a08be7fdc572e3d820e031ebf76 Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Mon, 8 Dec 2025 23:14:51 +0100 Subject: [PATCH] nixos: fix fprintd unlock (#952) * nixos: fix fprintd unlock * ci: this workflow doesn't need a token --- .github/workflows/nix-pr-check.yml | 9 +-------- flake.nix | 3 +++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/nix-pr-check.yml b/.github/workflows/nix-pr-check.yml index 56cc8324..9ec144ce 100644 --- a/.github/workflows/nix-pr-check.yml +++ b/.github/workflows/nix-pr-check.yml @@ -10,21 +10,14 @@ jobs: check-flake: runs-on: ubuntu-latest steps: - - name: Create GitHub App token - id: app_token - uses: actions/create-github-app-token@v1 - with: - app-id: ${{ secrets.APP_ID }} - private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ steps.app_token.outputs.token }} - name: Install Nix uses: cachix/install-nix-action@v31 - - name: Update vendorHash in flake.nix + - name: Check the flake run: nix flake check diff --git a/flake.nix b/flake.nix index 93526431..ecf859e6 100644 --- a/flake.nix +++ b/flake.nix @@ -99,6 +99,9 @@ substituteInPlace $out/share/quickshell/dms/Modules/Greetd/assets/dms-greeter \ --replace-fail /bin/bash ${pkgs.bashInteractive}/bin/bash + substituteInPlace $out/share/quickshell/dms/assets/pam/fprint \ + --replace-fail pam_fprintd.so ${pkgs.fprintd}/lib/security/pam_fprintd.so + installShellCompletion --cmd dms \ --bash <($out/bin/dms completion bash) \ --fish <($out/bin/dms completion fish) \