DavHau
9996f5596c
vars/sops: store secrets in /sops/vars
2024-07-24 18:42:50 +07:00
Jörg Thalheim
0d6e2539e3
Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"
...
This reverts commit 37e6ca7a30 .
2024-07-17 14:04:49 +02:00
DavHau
37e6ca7a30
clan-cli: deprecate nix_shell() in favor of run_cmd()
2024-07-16 14:03:17 +07:00
Jörg Thalheim
c44a99e304
don't catch all exceptions when generating facts
2024-07-03 18:28:55 +02:00
Jörg Thalheim
5b606c035f
move FlakeId to flake id
...
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
Jörg Thalheim
b4698528ef
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
a-kenji
d9ba61c30a
clan: implement OSC8 hyperlinks for help output
...
The name of the terminal help output stays the same to keep
compatibility with legacy terminal implementations.
2024-07-02 08:55:01 +00:00
Jörg Thalheim
2e2358d850
introduce minifakeroot that also works on macos
2024-06-27 18:53:10 +02:00
Jörg Thalheim
bae0a888c9
make bubblewrap in fact generation optional
2024-06-27 18:23:05 +02:00
Qubasa
70ca824e88
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
Qubasa
5f7099fc89
clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret
2024-06-05 14:31:45 +02:00
lassulus
578162425d
Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."
...
This reverts commit ba86b49952 .
2024-06-03 12:25:20 +02:00
lassulus
da8a733899
clan_cli secrets_upload: fix permissions
2024-06-03 10:52:18 +02:00
Qubasa
ba86b49952
clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py.
2024-06-02 16:52:31 +02:00
Qubasa
1a39957dbb
clan-cli: Refactor subprocess.run to cmd.run. tea-create-pr: Fix missing fail-on-change for treefmt
2024-06-02 09:53:24 +02:00
a-kenji
bcccf301f0
clan: add dynamic completions for fact generation services
2024-05-31 15:21:07 +02:00
a-kenji
23ef39a2d9
clan: add dynamic completions
...
Add dynamic completion scaffolding to the clan `cli`.
Also add a dynamic completion mechanism for machines for commands that
have machines as their sole argument.
More intricate dynamic completions will be implemented in follow up
PR's.
2024-05-31 12:55:41 +02:00
clan-bot
d138e29a53
Merge pull request 'Consistently pass nix options to underlying tools' ( #1488 ) from pass-nix-options into main
2024-05-29 08:25:53 +00:00
a-kenji
c2dc94507e
clan: clarify default backend
2024-05-29 10:17:22 +02:00
Jörg Thalheim
2ae50b7398
allow to override nix options in update/install/flash commands
2024-05-29 10:14:14 +02:00
a-kenji
3c905c5072
clan: add epilog to facts subcommands
2024-05-29 10:10:23 +02:00
a-kenji
e8bd5ad24b
clan: add examples and description to most help
...
Add examples and description to most toplevel help outputs.
2024-05-27 14:33:58 +02:00
a-kenji
81e0700826
clan: facts generate allow regeneration of facts
...
Add `--regenerate` flag to `clan facts generate` which allows forcing
the generation of facts, regardless of their current existence.
Examples:
```
clan facts generate [MACHINE] --regenerate
```
or
```
clan facts generate [MACHINE] --service [SERVICE] --regenerate
```
2024-05-26 22:55:48 +02:00
a-kenji
4faab0a20f
clan: facts generate specific service
...
Add `--service` flag to the `clan` cli which allows specifying a certain
service to be generated.
Example:
```
clan facts generate [MACHINE] --service [SERVICE]
```
Fixes #1395
2024-05-26 21:52:56 +02:00
a-kenji
73f486fe13
clan: fix clan facts list [MACHINE]
...
Fix `clan facts list [MACHINE]`.
The get command returned a dictionary of bytestrings.
We now convert them to strings.
2024-05-26 14:26:08 +02:00
DavHau
cf67de2f69
secrets: ensure all added/deleted files get committed
2024-04-24 17:26:32 +07:00
Jörg Thalheim
dcad0d0d79
include machine name when generating secrets
2024-04-15 22:17:53 +02:00
Jörg Thalheim
f385e0e037
refactor facts command to regenerate facts for all machines
2024-04-15 22:14:54 +02:00
Jörg Thalheim
b3522b73aa
fix case when secrets are regenerated during update/install
2024-04-12 14:46:51 +02:00
lassulus
a8d35d37e7
refactor clanCore.secrets -> clanCore.facts
2024-03-27 16:03:16 +01:00
Jörg Thalheim
270f906412
fix casing in facts generate logs
2024-03-25 15:33:57 +01:00
lassulus
f16667e25a
refactor secrets & facts -> secret_facts & public_facts
2024-03-23 05:46:54 +01:00
Jörg Thalheim
53d658a3c0
make facts stores inherit from an interface
2024-02-16 14:47:39 +01:00
lassulus
6871b29d15
vms: use vm fact/secret-store
2024-02-15 10:41:25 +01:00
lassulus
98139ac48d
add factsStore modules
2024-02-15 10:41:25 +01:00