Commit Graph

4992 Commits

Author SHA1 Message Date
clan-bot
eed70070b4 Merge pull request 'api/machines: include disk and hw_config into machine details' (#2543) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-03 13:13:02 +00:00
Johannes Kirschbauer
1bdbbfbd5b api/machines: include disk and hw_config into machine details 2024-12-03 14:01:11 +01:00
Johannes Kirschbauer
045b7d6c28 api/modules: seperate frontmatter parsing from extraction 2024-12-03 14:01:00 +01:00
clan-bot
87e0fa9943 Merge pull request 'fix minifakeroot on macos' (#2542) from minifakeroot into main 2024-12-03 12:07:25 +00:00
Jörg Thalheim
5e37ca2021 fix minifakeroot on macos 2024-12-03 13:01:16 +01:00
clan-bot
01851ad7ab Merge pull request 'api/disk-templates: adopt directory structure from clan modules' (#2541) from hsjobeki/clan-core:hsjobeki-main into main 2024-12-03 11:08:47 +00:00
Johannes Kirschbauer
d15e801940 api/disk-templates: adopt directory structure from clan modules 2024-12-03 12:01:35 +01:00
clan-bot
cf3a5df51e Merge pull request 'fix sops deprecation warning' (#2540) from stdin into main 2024-12-03 10:23:25 +00:00
Jörg Thalheim
e250332f4b fix sops deprecation warning 2024-12-03 11:13:17 +01:00
clan-bot
d39e77ab3c Merge pull request 'pkgs/cli: Fix suggestion after key generation' (#2539) from kenji/clan-core:kenji-pkgs-cli/fix/add-key into main 2024-12-03 09:12:59 +00:00
a-kenji
05c12e4ee9 pkgs/cli: Fix suggestion after key generation
Fix the suggestion that is given when generating a new key.

Closes: #2537
2024-12-03 10:01:55 +01:00
Mic92
d61e417e50 Merge pull request 'always include gitMinimal' (#2495) from stdin into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2495
2024-12-02 14:31:16 +00:00
Jörg Thalheim
94cef8a28c always include gitMinimal
the condition was actually the wrong way around and we still need git in
nix for some operations.
2024-12-02 14:31:16 +00:00
clan-bot
41e5192f0f Merge pull request 'Automatic flake update - nixpkgs - 2024-12-02T00:00+00:00' (#2530) from flake-update-nixpkgs-2024-12-02 into main 2024-12-02 14:21:56 +00:00
lassulus
79a2283c71 *: nix fmt 2024-12-02 15:14:40 +01:00
lassulus
ea2ec50fbd Merge pull request 'fix(networking): Use true instead of "yes" for multicast config' (#2528) from aos/clan-core:aos/systemd-network-use-true-bool into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2528
2024-12-02 13:53:52 +00:00
clan-bot
9316a0a232 Merge pull request 'zerotier: backup identity on change' (#2536) from DavHau/clan-core:DavHau-docs into main 2024-12-02 10:58:29 +00:00
DavHau
46e3930f26 zerotier: backup identity on change
This prevents users from loosing their identity after enabling the zerotier clan module when they were previously using zerotier via nixos.
2024-12-02 17:52:10 +07:00
clan-bot
2c336d5567 Merge pull request 'cli vars: remove get_all from baseclass' (#2535) from lassulus/clan-core:vars_get_all into main 2024-12-02 10:51:01 +00:00
lassulus
1b83fd27a8 cli vars: remove get_all from baseclass 2024-12-02 11:30:09 +01:00
clan-bot
ae4fd04da4 Merge pull request 'zerotier: improve docs for moons' (#2534) from DavHau/clan-core:DavHau-docs into main 2024-12-02 08:57:10 +00:00
DavHau
e6931bf486 zerotier: improve docs for moons 2024-12-02 15:50:49 +07:00
clan-bot
53bd0444fe Merge pull request 'Automatic flake update - treefmt-nix - 2024-12-02T00:00+00:00' (#2533) from flake-update-treefmt-nix-2024-12-02 into main 2024-12-02 00:24:45 +00:00
clan-bot
a5db32c2ad Merge pull request 'Automatic flake update - sops-nix - 2024-12-02T00:00+00:00' (#2532) from flake-update-sops-nix-2024-12-02 into main 2024-12-02 00:23:21 +00:00
clan-bot
33a855c747 Merge pull request 'Automatic flake update - disko - 2024-12-02T00:00+00:00' (#2529) from flake-update-disko-2024-12-02 into main 2024-12-02 00:11:21 +00:00
Clan Merge Bot
f2ff8e7776 update flake lock - treefmt-nix - 2024-12-02T00:00+00:00
Flake lock file updates:

• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/705df92694af7093dfbb27109ce16d828a79155f?narHash=sha256-5WSng844vXt8uytT5djmqBCkopyle6ciFgteuA9bJpw%3D' (2024-11-22)
  → 'github:numtide/treefmt-nix/6209c381904cab55796c5d7350e89681d3b2a8ef?narHash=sha256-2qbdorpq0TXHBWbVXaTqKoikN4bqAtAplTwGuII%2BoAc%3D' (2024-11-29)
2024-12-02 00:00:37 +00:00
Clan Merge Bot
a24a6c03d4 update flake lock - sops-nix - 2024-12-02T00:00+00:00
Flake lock file updates:

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/53c853fb1a7e4f25f68805ee25c83d5de18dc699?narHash=sha256-N9JGWe/T8BC0Tss2Cv30plvZUYoiRmykP7ZdY2on2b0%3D' (2024-11-21)
  → 'github:Mic92/sops-nix/3433ea14fbd9e6671d0ff0dd45ed15ee4c156ffa?narHash=sha256-xtt95%2Bc7OUMoqZf4OvA/7AemiH3aVuWHQbErYQoPwFk%3D' (2024-11-25)
2024-12-02 00:00:33 +00:00
Clan Merge Bot
fcb1f44ac9 update flake lock - nixpkgs - 2024-12-02T00:00+00:00
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8edf06bea5bcbee082df1b7369ff973b91618b8d?narHash=sha256-sQxuJm8rHY20xq6Ah%2BGwIUkF95tWjGRd1X8xF%2BPkk38%3D' (2024-11-22)
  → 'github:NixOS/nixpkgs/2c27ab2e60502d1ebb7cf38909de38663f762a79?narHash=sha256-n/DOfpKH1vkukuBnach91QBQId2dr5tkE7/7UrkV2zw%3D' (2024-12-01)
2024-12-02 00:00:28 +00:00
Clan Merge Bot
d9e1e4bd40 update flake lock - disko - 2024-12-02T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/869ba3a87486289a4197b52a6c9e7222edf00b3e?narHash=sha256-%2B4U2I2653JvPFxcux837ulwYS864QvEueIljUkwytsk%3D' (2024-11-26)
  → 'github:nix-community/disko/2814a5224a47ca19e858e027f7e8bff74a8ea9f1?narHash=sha256-2uMaVAZn7fiyTUGhKgleuLYe5%2BEAAYB/diKxrM7g3as%3D' (2024-11-30)
2024-12-02 00:00:01 +00:00
Aos Dabbagh
8a6d544eef fix(networking): Use true instead of "yes" for multicast config
I ran into an issue when I had clan + this module:
ce61f71680/nixos/mixins/mdns.nix (L6)
they both set the same config value, but clan uses "yes" and that module
uses `true`. systemd allows for "yes" or `true` (`man systemd.syntax`),
so I opted to change this to `true`.

Here's the full error:
```
error: The option `systemd.network.networks."99-ethernet-default-dhcp".networkConfig.MulticastDNS' has conflicting definition values:
- In `/nix/store/3yv22nq7rqd0ra30qvzc2d624rwa6h7c-source/nixosModules/clanCore/networking.nix': "yes"
- In `/nix/store/ivjk0r776mxal8v7jamwsrn4yidvg0dv-source/nixos/mixins/mdns.nix': true
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.
```
2024-11-30 23:24:17 -05:00
clan-bot
3ace3fa7ec Merge pull request 'vars password-store: fix secretLocation again :)' (#2526) from lassulus/clan-core:fix-vars-pass2 into main 2024-11-30 17:07:29 +00:00
lassulus
5372066e04 vars password-store: fix secretLocation again :) 2024-11-30 18:01:23 +01:00
clan-bot
1258b1c1dc Merge pull request 'vars password-store: fix secretLocation' (#2525) from lassulus/clan-core:fix-vars-pass into main 2024-11-30 16:31:57 +00:00
lassulus
893892aff4 vars password-store: fix secretLocation 2024-11-30 17:24:17 +01:00
clan-bot
e51c3787c2 Merge pull request 'Clan-core: automatically load disko.nix' (#2523) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-29 21:01:02 +00:00
Johannes Kirschbauer
f63c6f170b Facter: remove partial disk facts 2024-11-29 21:52:38 +01:00
Johannes Kirschbauer
172de18e74 Docs: add/improve autloaded machine files section 2024-11-29 21:49:57 +01:00
Johannes Kirschbauer
07c8b2c9ae Clan-api: disk schema: improve error messages for invalid options 2024-11-29 21:33:22 +01:00
Johannes Kirschbauer
6d50587f7b Clan-api: init set disk_schema from facter report 2024-11-29 21:30:46 +01:00
Johannes Kirschbauer
4ea35d5dc9 Clan-core: automatically load disko.nix 2024-11-29 21:15:15 +01:00
clan-bot
38d3ee7de0 Merge pull request 'revert c7a3d52a33c5022d080b5d12ffab6b04bc7a4c58' (#2522) from hsjobeki-patch-1 into main 2024-11-29 20:15:01 +00:00
hsjobeki
26fa2bfad6 revert c7a3d52a33
revert Clan-app: init single-disk template
2024-11-29 20:08:02 +00:00
clan-bot
adfe1e5c50 Merge pull request 'vars: generate docs for cli and module' (#2521) from DavHau/clan-core:DavHau-docs into main 2024-11-29 10:30:07 +00:00
DavHau
681c671391 vars/migration: remove useless check 2024-11-29 17:23:31 +07:00
DavHau
66ce80c096 vars: rename: invalidation -> validation 2024-11-29 17:23:31 +07:00
DavHau
03bcf6bba3 vars: generate docs for cli and module 2024-11-29 17:23:31 +07:00
clan-bot
88861ecfb7 Merge pull request 'vars: make upload actually upload' (#2520) from lassulus/clan-core:vars_upload into main 2024-11-28 20:08:19 +00:00
lassulus
513431148e vars: make upload actually upload 2024-11-28 21:00:12 +01:00
clan-bot
1138ba06bd Merge pull request 'clan-vm-manager: Fix regression part2' (#2519) from Qubasa/clan-core:Qubasa-main into main 2024-11-28 18:08:35 +00:00
Qubasa
ff8d82c3c6 clan-vm-manager: Fix regression part2 2024-11-28 19:01:46 +01:00