Commit Graph

38 Commits

Author SHA1 Message Date
Qubasa
ba05589af2 Refactor subprocess to cmd.py part 2 2024-01-10 12:11:29 +01:00
Qubasa
c4799f1e9a Added gcroot for clan Icon and VM 2023-12-31 00:49:57 +01:00
Qubasa
330ef00a7c Removed python deal. 2023-12-30 23:10:43 +01:00
Qubasa
d4b8cef242 Added clan flakes inspect command. Improved ClanURI. Added democlan as dependency in flake.nix 2023-12-09 00:09:21 +01:00
Qubasa
d6052c3497 clanCore: Fixed missing type null for clanIcon 2023-12-08 19:27:58 +01:00
clan-bot
c22280b864 Merge pull request 'add wayland option' (#628) from Mic92-main into main 2023-12-08 14:16:43 +00:00
Jörg Thalheim
1496f45fe2 prefix nixpkgs# explicitly in nix_shell
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
Qubasa
ae8029e560 clan_cli: URI parser now only has HTTP and FILE. Also clan:///home/user or clan://~/Downloads is supported 2023-12-08 13:46:21 +01:00
Jörg Thalheim
26e3e3872c enable more linting 2023-11-29 13:29:45 +00:00
Jörg Thalheim
2e54575474 clan-cli: drop dependency on deal 2023-11-23 15:03:46 +01:00
Qubasa
832c41df7e Added gtk demo app 2023-11-23 15:03:38 +01:00
Qubasa
17c71d2f40 Added more deal tests 2023-11-21 16:44:38 +01:00
Jörg Thalheim
7afaaf8c5a get rid of pydantic in cli 2023-11-21 12:48:35 +00:00
Johannes Kirschbauer
8677c14aaa add create/join switch 2023-10-31 19:05:37 +01:00
Qubasa
fa5f39f226 API: Added Path validators. api/flake/create inits git repo. Fixed vscode interpreter problem 2023-10-27 19:11:27 +02:00
Qubasa
ce7ae81a35 API: Added endpoint & test for /api/flake/attrs 2023-10-01 12:50:54 +02:00
Jörg Thalheim
166a2f795f only pass experimental-features onces to nix-build 2023-09-27 13:08:24 +00:00
Jörg Thalheim
74a3c85c29 move zerotier secret generation into nixos module 2023-09-26 17:57:43 +02:00
Jörg Thalheim
0314132a1a rewrite sops backend for secret generation and add tests 2023-09-21 17:22:20 +02:00
Jörg Thalheim
a65413c98e use experimental flags everywhere 2023-09-19 13:12:10 +02:00
Jörg Thalheim
8a96254100 nix_build: add experimental flags 2023-09-15 14:30:17 +02:00
lassulus
0132abc547 secrets: use CLAN_DIR instead of clanCore.clanDir for fact storage 2023-09-15 12:17:07 +00:00
lassulus
a59e8478fa clan-cli nix_build_machine: don't create result link 2023-09-15 12:17:07 +00:00
lassulus
55fc055549 clan_cli/nix: convert path to string 2023-09-15 12:17:07 +00:00
lassulus
0e3f8bb3f9 clan-cli nix_build_machine: cast flake_url to str 2023-09-15 12:17:07 +00:00
Jörg Thalheim
9b7b6996d6 nix_eval: add --json by default 2023-09-15 13:50:31 +02:00
Jörg Thalheim
3d071396d0 nix_build_machine: escape json 2023-09-13 16:40:26 +02:00
Jörg Thalheim
825caeb63a add nix_build_machine function 2023-09-13 16:01:43 +02:00
Jörg Thalheim
3bdd3af248 cli: fix nixpkgs unfree import 2023-09-06 17:37:41 +02:00
DavHau
e7dcc0d260 clan-cli: fix nix_shell --inputs from 2023-09-06 16:13:27 +02:00
DavHau
df10ca6ece clan-cli: fix nix_shell 2023-09-06 15:18:22 +02:00
DavHau
fcbc3ec899 clan-cli: use dependency flake instead of registry 2023-09-06 14:47:28 +02:00
DavHau
8ca0a2aee4 clan-config: introduce --machine + add tests 2023-08-30 20:59:26 +02:00
Jörg Thalheim
fb7c77690a replace environment variable with nixpkgs directory
In this directory we generate all the files that we need to load nixpkgs.
This seems more robust than all those environment variables that may or not may be set.
2023-08-26 11:45:09 +02:00
Jörg Thalheim
09cc79867d cli: get optional deps from our own flake
This ensures we actually test if all those binaries build
2023-07-26 09:31:49 +02:00
Jörg Thalheim
83005a6795 cli: use nixpkgs in nix shell in pure mode
This avoids nixpkgs config and overlay provided by the user.
Also enables caching in nix.
2023-07-26 09:31:49 +02:00
Jörg Thalheim
72f6b368d6 cli: resolve CLAN_NIXPKGS on every invocation
this makes mocking easier
2023-07-26 06:53:33 +00:00
Jörg Thalheim
409e5d459c zerotier: move nix_shell to external package 2023-07-26 08:04:46 +02:00