blob: f5cd40e4e6958f435a6dba2f478a1515fbff8618 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
SSH_OPTIONS := "-o PubkeyAuthentication=no -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
nixdisk := "vda"
nixaddr := ""
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
uv tool install llm -U
llm install -U llm-anthropic
llm models default anthropic/claude-3-7-sonnet-20250219
llm keys set anthropic --value (op read --account my.1password.com "op://Private/anthropic llm/credential")
|