diff options
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
| -rw-r--r-- | justfile | 24 | ||||
| -rw-r--r-- | nix/users/fcuny/shell.nix | 6 |
3 files changed, 7 insertions, 27 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69d9e69..4d886fa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,4 +13,6 @@ jobs: - uses: actions/checkout@v4 - uses: DeterminateSystems/nix-installer-action@v16 - name: check configuration - run: nix flake check --all-systems + run: | + nix flake check --all-systems + nix develop -c echo OK @@ -6,30 +6,6 @@ hostname := lowercase(`hostname -s`) default: @just --list -[doc('a simple check to ensure the nix configuration is OK')] -[group('nix')] -test-nix: - nix flake check - nix develop -c echo OK - -# Nix Store can contains corrupted entries if the nix store object has been modified unexpectedly. -# This command will verify all the store entries, - -[doc('verify all the store entries')] -[group('nix')] -verify-store: - nix store verify --all - -[doc('list recent version')] -[group('nix')] -history: - nix profile history --profile /nix/var/nix/profiles/system - -[doc('show all the auto gc roots in the nix store')] -[group('nix')] -gcroot: - ls -al /nix/var/nix/gcroots/auto/ - [group('llm')] llm: #!/usr/bin/env fish diff --git a/nix/users/fcuny/shell.nix b/nix/users/fcuny/shell.nix index 4e4a6c8..fe3ee2d 100644 --- a/nix/users/fcuny/shell.nix +++ b/nix/users/fcuny/shell.nix @@ -48,9 +48,11 @@ in ncg = "nix-collect-garbage --delete-older-than 7d"; ndc = "nix develop --command"; nfc = "nix flake check"; + ngcroot = "ls -al /nix/var/nix/gcroots/auto/"; + nph = "nix profile history --profile /nix/var/nix/profiles/system"; nsn = "nix search nixpkgs"; - c = "clear"; - j = "just"; + nsv = "nix store verify --all"; + g = "git"; gap = "git add --patch"; }; |
