151 Commits

Author SHA1 Message Date
Jörg Thalheim
dc94545655 remove nixos-factor modules for now
I would like to get rid of blueprint before having this feature
2024-08-27 09:38:28 +02:00
Johannes Kirschbauer
8f39db5c54 Remove nixos-facter until fixed upstream 2024-08-26 11:47:26 +02:00
Johannes Kirschbauer
10f6292073 Facter: only export the standard linux package for caching 2024-08-26 09:23:46 +02:00
Johannes Kirschbauer
086e6c29d3 Format 2024-08-26 09:05:01 +02:00
Johannes Kirschbauer
fd2dd2b565 BuildClan: autoimport facter.json 2024-08-26 09:04:59 +02:00
zimbatm
4fa4af12dc feat(flake): make systems overridable
Clan users might want to use the flake on different architectures.

This allows them to override the systems input with a new value.
2024-08-15 20:03:56 +02:00
Jörg Thalheim
59c5942d86 drop binary cache from flake
This generates warnings for users of the CLI and confuses them.
In our CI systems we can just provide our binary cache.
2024-07-21 15:27:31 +02:00
Jörg Thalheim
b06a09281c remove nixos-generators 2024-07-08 16:24:34 +02:00
Jörg Thalheim
be480adfa8 nixos-generators: drop nixlib copy 2024-06-30 08:13:24 +02:00
DavHau
dfcf4d8309 vars: init
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
clan-bot
e83d428fd6 Merge pull request 'Docs: rename clanName to just name' (#1660) from hsjobeki/clan-core:hsjobeki-main into main 2024-06-25 12:25:27 +00:00
Johannes Kirschbauer
b90ec6e842 Inventory: move to lib.inventory 2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
cf03c71966 Docs: rename clanName to just name 2024-06-25 14:21:53 +02:00
Johannes Kirschbauer
881e95dd75 Inventory: init draft ideas 2024-06-19 09:40:23 +02:00
Jörg Thalheim
f0c754a1aa drop nixos-stable 2024-06-11 15:03:57 +02:00
Johannes Kirschbauer
c7008fd302 clan-core: add clan meta for ui usage 2024-05-31 16:26:46 +00:00
Jörg Thalheim
e23755d78e make git-hooks opt-in
pre-commit hook break git commits and are disruptive.
Therefore people that want to enable this feature, should enable it locally instead.
I.e. treefmt will also check untracked files that are not meant for the current commit.
2024-05-27 11:08:17 +02:00
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