diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 763bf1e..7adf9dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,10 @@ jobs: fortune nix store gc nix run nixpkgs#fortune + - name: Verify the generated nix.conf + run: | + cat -n /etc/nix/nix.conf + grep -E "^trusted-users = .*$USER" /etc/nix/nix.conf run-x86_64-darwin: name: Run x86_64 Darwin @@ -132,4 +136,8 @@ jobs: nix profile install nixpkgs#fortune fortune nix store gc - nix run nixpkgs#fortune \ No newline at end of file + nix run nixpkgs#fortune + - name: Verify the generated nix.conf + run: | + cat -n /etc/nix/nix.conf + grep -E "^trusted-users = .*$USER" /etc/nix/nix.conf