Commit Graph

2146 Commits

Author SHA1 Message Date
lassulus
52b2b1c350 password-store: include filenames in manifest for upload check 2024-11-22 22:34:09 +01:00
lassulus
2c839ae768 cli password-store: skip uploading non secret files 2024-11-22 22:34:09 +01:00
Qubasa
a0b013d3cc clan-cli: Fix inventory update.sh 2024-11-22 22:23:10 +01:00
Qubasa
979e5e839d clan-cli: Refactor ssh part 2, Refactor custom_logger 2024-11-22 22:08:50 +01:00
Johannes Kirschbauer
0b3b98e9d4 UI: fix overflow behavior sidebar 2024-11-22 21:56:38 +01:00
Johannes Kirschbauer
e455498ccb UI: fix overflow behavior sidebar/content 2024-11-22 21:18:42 +01:00
Johannes Kirschbauer
4b0127b8a2 UI/api: init testing playground 2024-11-22 14:36:32 +01:00
Johannes Kirschbauer
b969c51cd0 UI/components/sidebar: fix missing top-level keys 2024-11-22 14:36:11 +01:00
Johannes Kirschbauer
2b4ce58df3 UI/components/button: fixup props splitting 2024-11-22 14:35:43 +01:00
Johannes Kirschbauer
6777fde504 UI/components/typography: more default props 2024-11-22 14:01:58 +01:00
Johannes Kirschbauer
2b202c879a UI/components/button: forward classnames 2024-11-22 14:01:03 +01:00
Johannes Kirschbauer
6a6306f7f0 Clan-cli/api: init dynamic get module interface 2024-11-22 13:58:30 +01:00
Johannes Kirschbauer
0e556302c1 Clan-cli/api: list external modules 2024-11-21 17:04:35 +01:00
Johannes Kirschbauer
88114ebfdc Clan-cli: update inventory classes.py 2024-11-21 15:38:17 +00:00
Qubasa
a4f3d9d1fc clan-cli: Refactor ssh folder part 1 2024-11-21 13:02:22 +01:00
Johannes Kirschbauer
ddbd477373 UI/components/button: fixup invalid test file name 2024-11-20 18:57:25 +01:00
Johannes Kirschbauer
6681e08bdb UI/machine/thumbnail: init random image generator for default thumbnail 2024-11-20 18:55:54 +01:00
Johannes Kirschbauer
e42d33b42e UI/tailwind/theme: add color definition mapping for light mode 2024-11-20 18:55:03 +01:00
Johannes Kirschbauer
b9285a6935 UI/components/button: init button component 2024-11-20 16:48:01 +01:00
Johannes Kirschbauer
a4a3a646e5 UI/theme/config: remove unneccessary rgb wrapper 2024-11-20 16:48:01 +01:00
a-kenji
5a9d58ec59 pkgs/cli: Fix generation of hardware configuration for machines install
Correctly use the `value` of the `enum`, which is expected by
`nixos-anywhere`.
2024-11-20 16:15:45 +01:00
a-kenji
1c9ca82055 pkgs/cli: Fix tag creation for clan machines create 2024-11-20 15:12:05 +01:00
danjujan
1e20a4cda9 vms/qemu: fix opengl detection 2024-11-20 10:20:30 +00:00
Jörg Thalheim
952a5f3ee7 vars: add VarStatus dataclass to make return type more readable 2024-11-20 10:20:06 +00:00
DavHau
d4c8b2e4ed vars: implement invalidation mechanism
This adds options `invalidationData` to generators.

`invalidationData` can be used by an author of a generator to signal if a re-generation is required after updating the logic.

Whenever a generator with invalidation data is executed, a hash of that data is stored by the respective public and/or secret backends.

The stored hashes will be checked on future deployments, and a re-generation is triggered whenever a hash doesn't match what's defined in nix.
2024-11-20 16:27:22 +07:00
Johannes Kirschbauer
e5184eb5d4 chore(packages/schema): remove unused validation 2024-11-19 17:59:30 +01:00
Johannes Kirschbauer
176b07d6d1 UI/Modules: individual roles members 2024-11-19 15:59:23 +00:00
Johannes Kirschbauer
eecd39b24a UI/fonts: migrate all text-* classes 2024-11-19 15:33:30 +01:00
Johannes Kirschbauer
78dbeb6276 UI/layout: clean up imports 2024-11-19 14:50:07 +01:00
Johannes Kirschbauer
1c28959d61 UI/sidebar: rework tailwind theme and classes 2024-11-19 14:47:36 +01:00
Timo
d9973a3d12 ui/sidebar: adds full height to drawer and min-width to new sidebar component 2024-11-19 13:24:48 +01:00
Timo
1d7913aeb7 ui/sidebar: updates component and introduces new styles (e.g. colors, typograhy) 2024-11-19 13:19:54 +01:00
Timo
1046797da8 ui/typography: adds general typography component 2024-11-19 13:19:54 +01:00
Timo
7821c343d6 ui/sidebar: finishes general structure of new sidebar components 2024-11-19 13:19:54 +01:00
Jörg Thalheim
68a5d072b2 vars: don't print stack trace if generator fails 2024-11-19 09:46:14 +00:00
Jörg Thalheim
2b270a8951 vars: introduce ensure_machine_has_access method for sops
this should help avoiding overriding existing shared secrets by not
triggering vars regeneration if a machine has no access.

wip
2024-11-19 09:46:14 +00:00
Jörg Thalheim
609dc90775 remove ssh.id_ed25519 from facts test
we have moved this to vars now.
2024-11-19 09:46:14 +00:00
Johannes Kirschbauer
e8f39d7431 UI/tailwind: fix preflight 2024-11-19 10:36:53 +01:00
Johannes Kirschbauer
3a46119722 Modules/api: export constraints, filter by inventory 2024-11-19 10:36:29 +01:00
DavHau
2127c7f5cb vars: add test for 'clan vars get' 2024-11-19 13:32:27 +07:00
DavHau
1d66d32163 tests: improve performance, keep flake.lock between tests
- deprecate fixture generate_flake in favor of class ClanFlake
- allow creating flake templates that can be copied, including their state, like git and lock files, in order to avoid expensive re-initialization
2024-11-18 17:01:58 +07:00
lassulus
8f0c575425 password-store owner & group support 2024-11-16 01:18:59 +01:00
Qubasa
26730cd662 clan-cli: upload.py -> Replace rsync with native ssh command 2024-11-15 22:03:47 +07:00
a-kenji
b894a41a60 pkgs/cli: Add comment to add_common_flags function 2024-11-15 12:06:10 +01:00
a-kenji
25b90983af pkgs/cli: Fix adding common flags for aliases 2024-11-15 10:49:03 +00:00
Jörg Thalheim
4de97616bc vars: introduce ensure_machine_has_access method for sops
this should help avoiding overriding existing shared secrets by not
triggering vars regeneration if a machine has no access.

wip
2024-11-14 15:37:55 +00:00
Jörg Thalheim
673717fe8c vars/get: use machine_name as variable name 2024-11-14 15:37:55 +00:00
Jörg Thalheim
91d2018bb7 vars/sops: simplify conditional in exists 2024-11-14 15:37:55 +00:00
clan-bot
0695b82edd Merge pull request 'pkgs/cli: Improve help description' (#2415) from kenji/clan-core:kenji-cli/show/improve/description into main 2024-11-14 14:40:22 +00:00
a-kenji
9c08e90083 pkgs/cli: Improve help description 2024-11-14 15:34:24 +01:00