Valentin Gagarin
ff5f55e779
add pre-commit check
...
make sure things are sane before they hit CI, re-purposing the existing
treefmt configuration.
this adds a custom installer for pre-commit hooks, which is inspired by
pre-commit.nix[0], but is much more minimal than the underlying
pre-commit[1] and builds on a historic idea[2] from this repository.
[0]: https://github.com/cachix/git-hooks.nix
[1]: https://github.com/pre-commit/pre-commit
[2]: 930923512c
2024-05-24 12:39:56 +00:00
Qubasa
48bb275946
flake.nix: change disko back to nix-community
2024-05-22 21:14:30 +02:00
Qubasa
dcf98a93ee
Revert "Merge pull request 'add pre-commit-check' ( #1369 ) from fricklerhandwerk/clan-core:add-pre-commit into main"
...
This reverts commit 4c4afe8028 , reversing
changes made to 2785f59960 .
2024-05-22 14:31:53 +02:00
Valentin Gagarin
63b2ffc6c2
use a custom installer for pre-commit hooks
2024-05-22 11:49:57 +00:00
Valentin Gagarin
29d713e44e
add pre-commit check
...
make sure things are sane before they hit CI.
this re-purposes the existing treefmt configuration.
2024-05-22 11:49:57 +00:00
Johannes Kirschbauer
13678606e7
api: fix typing issues
2024-05-21 16:01:57 +02:00
Johannes Kirschbauer
d6e0bbebd1
webview: replace dream2nix by buildNpm from nixpkgs to save inputs
2024-05-21 15:52:20 +02:00
Johannes Kirschbauer
484247de6d
add webview threaded api
2024-05-18 14:14:12 +00:00
Qubasa
b1dd5c2832
Add --ssh-pubkey FILE argument
2024-05-14 15:41:15 +02:00
Johannes Kirschbauer
77921f9c79
docs: clean up directory structure
2024-04-13 14:48:26 +02:00
Johannes Kirschbauer
c1f2784d05
disable module docs until migrated
2024-04-12 17:13:11 +02:00
Johannes Kirschbauer
a7e8500d99
docs: self host documentation with mkDocs
2024-04-12 17:13:11 +02:00
Jörg Thalheim
0dc879410c
flake-parts: fix clan-core reference
2024-04-04 13:38:15 +02:00
Jörg Thalheim
73321e230a
add flake-parts module for clan
2024-04-03 16:45:06 +02:00
DavHau
5483309c9b
docs: render zola pages in clan-core flake
...
This integrates the generated options docs part of our website into the clan-core project. This is better than having it in a separate repos because we want to lear about breakages as early as possible.
Changes which break the documentation should be blocked by this early on
2024-03-31 12:33:31 +07:00
DavHau
46afc1879c
docs: render module options docs
...
fix errors while rendering some modules
2024-03-31 00:26:08 +07:00
Qubasa
d6d8a88549
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
2024-03-24 23:36:00 +01:00
Jörg Thalheim
ede4d3f6e5
re-format with nixfmt
2024-03-17 19:48:49 +01:00
DavHau
148e8b0ac0
devShells: one global python devshell + activation via command
...
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
lassulus
a94201c1d0
allow passing of extra_config into machines
2024-02-11 08:40:41 +01:00
Qubasa
001a48da52
Removed python deal.
2023-12-30 23:10:43 +01:00
lassulus
f932dab29c
flake: define option for clanInternals
...
We need this to define test machines in different flake modules
2023-12-18 23:41:31 +01:00
Jörg Thalheim
a1a8486be8
clanCore: refactor flake-module.nix into smaller files
2023-12-15 14:14:20 +01:00
Jörg Thalheim
4d8fb4b672
drop floco from flake inputs
2023-12-15 12:36:07 +01:00
Jörg Thalheim
47471c666b
clan-vm-manager: add nix package
2023-11-23 15:30:44 +01:00
Jörg Thalheim
386028f4a6
fix sops-nix override
2023-11-11 18:28:18 +01:00
Jörg Thalheim
6c2daab266
rename luispkgs to nixpkgs-for-deal
2023-11-10 13:14:06 +01:00
Qubasa
e565c0527c
Added schemathesis dependency
2023-11-08 19:56:05 +01:00
Qubasa
dbe32b5e72
Flake: Added python package deal as dependency
2023-11-08 19:55:11 +01:00
Jörg Thalheim
94bc308bb0
switch back to main
2023-11-08 10:17:00 +01:00
Jörg Thalheim
483fb2ad9e
switch to deltachat branch
2023-11-03 13:50:05 +01:00
Jörg Thalheim
0e003f519d
switch to back to nixos-unstable-small
2023-11-03 13:44:12 +01:00
Jörg Thalheim
50b49d393f
add binary cache and switch back to main branch of disko
2023-10-04 08:08:06 +02:00
Jörg Thalheim
cc68aac21f
also evaluate for aarch64-darwin
2023-09-28 16:01:42 +02:00
Jörg Thalheim
2e88454b5a
move zerotier secret generation into nixos module
2023-09-26 17:57:43 +02:00
Jörg Thalheim
56cd9d1cf4
fix makeDiskImages reference
2023-09-22 12:59:37 +02:00
lassulus
1ae314d39c
init clanModules.diskLayouts
2023-09-21 17:22:20 +02:00
DavHau
9b6fafcb2d
clan config: re-enable clan config
2023-09-19 15:12:29 +02:00
DavHau
4afd9910e9
Revert "rename clanCore to clan.core"
...
This reverts commit fef796fa6e .
2023-08-30 15:24:33 +02:00
Jörg Thalheim
fef796fa6e
rename clanCore to clan.core
2023-08-30 12:46:49 +00:00
Jörg Thalheim
a052c41469
improve ci check
2023-08-30 12:02:49 +00:00
lassulus
9fca1e7f43
move clanCore into nixosModules, add secrets generate command
2023-08-29 16:28:50 +02:00
clan-bot
7365df338b
Merge pull request 'Add nixos module to import secrets automatically' ( #154 ) from Mic92-mic92 into main
2023-08-23 12:04:20 +00:00
Jörg Thalheim
63bb9395fd
automatically import secrets into nixos
2023-08-23 13:59:43 +02:00
Jörg Thalheim
ed1d28f20b
import nixosModules explicitly
...
we need to also import sops-nix for sops
2023-08-23 13:59:43 +02:00
DavHau
999fbe0d89
clan-config: add readme
...
Also add capability of reading an option value
2023-08-23 01:01:07 +02:00
DavHau
48686591d8
clan-config: improve and add flake-parts module for clan-config
2023-08-22 21:17:47 +00:00
DavHau
00826d848e
checks: ensure clanModules are clan-config compatible
2023-08-09 18:42:03 +02:00
DavHau
7262208a4c
clanLib.jsonschema: move tests from pkgs/clan-cli
2023-08-09 16:05:33 +02:00
Jörg Thalheim
6d1de943e1
move out non-toplevel flake modules from flake.nix
2023-08-08 14:03:26 +02:00