Commit Graph

4762 Commits

Author SHA1 Message Date
Mic92
9030fa0cf4 Merge pull request 'add repo sync for github' (#2437) from Mic92-main into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2437
2024-11-19 12:09:28 +00:00
Jörg Thalheim
f3853539d0 add repo sync for github
add repo sync for github
2024-11-19 13:08:13 +01:00
clan-bot
61dea40a4b Merge pull request 'templates/minimal-flake-parts: Add meta.name' (#2434) from kenji/clan-core:kenji-flake-parts/add-name into main 2024-11-19 11:39:56 +00:00
a-kenji
320e8b9f4c templates/minimal-flake-parts: Add meta.name
Add `meta.name` field for the flake parts template.
This is not quite ideal, because it still needs to be changed manually
after invocation of the template.
2024-11-19 12:33:18 +01:00
clan-bot
1f444f6a14 Merge pull request 'flake/inputs: Remove obsolete nixpkgs-stable reference for sops-nix' (#2433) from kenji/clan-core:kenji-remove-sops-nix into main 2024-11-19 09:55:25 +00:00
a-kenji
c4c94b248a flake/inputs: Remove obsolete nixpkgs-stable reference for sops-nix 2024-11-19 10:48:56 +01:00
kenji
ed19475b2e Merge pull request 'ssh-ca' (#2379) from ssh-ca into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2379
Reviewed-by: kenji <aks.kenji@protonmail.com>
2024-11-19 09:46:14 +00:00
Jörg Thalheim
8f1e393bc4 also deploy host ca to server 2024-11-19 09:46:14 +00:00
Jörg Thalheim
d4967e9d4e backup: remove unused variable 2024-11-19 09:46:14 +00:00
Jörg Thalheim
2a5c735c90 Update vars via generator openssh for machine test-backup 2024-11-19 09:46:14 +00:00
Jörg Thalheim
a4e03a85eb vars: don't print stack trace if generator fails 2024-11-19 09:46:14 +00:00
Jörg Thalheim
5d057594e5 vars/test-backup: set ssh key 2024-11-19 09:46:14 +00:00
Jörg Thalheim
3730960078 tests: set stateVersion 2024-11-19 09:46:14 +00:00
Jörg Thalheim
9c6e04fa3f 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
b3b72e54cd remove ssh.id_ed25519 from facts test
we have moved this to vars now.
2024-11-19 09:46:14 +00:00
Jörg Thalheim
4f0c44f3dd sshd: add host ssh cert support 2024-11-19 09:46:14 +00:00
clan-bot
902c6a12bb Merge pull request 'Modules: init automatic docs.' (#2432) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-19 09:43:20 +00:00
Johannes Kirschbauer
c9fbb40416 UI/tailwind: fix preflight 2024-11-19 10:36:53 +01:00
Johannes Kirschbauer
9a6f39be76 Modules/api: export constraints, filter by inventory 2024-11-19 10:36:29 +01:00
Johannes Kirschbauer
8544387d65 Docs/frontmatter: init automatic reference for frontmatter 2024-11-19 10:35:13 +01:00
clan-bot
6f5ba08118 Merge pull request 'vars: add test for 'clan vars get'' (#2431) from DavHau/clan-core:DavHau-dave into main 2024-11-19 06:38:31 +00:00
DavHau
64a6f380a6 vars: add test for 'clan vars get' 2024-11-19 13:32:27 +07:00
clan-bot
61dd8cb471 Merge pull request 'docs: Remove old blog' (#2430) from Qubasa/clan-core:Qubasa-main into main 2024-11-18 16:31:43 +00:00
Qubasa
09e0d8add3 docs: Remove old blog, remove empty concepts rider 2024-11-18 17:25:47 +01:00
clan-bot
d48eb71752 Merge pull request 'tests: improve performance, keep flake.lock between tests' (#2428) from DavHau/clan-core:DavHau-nix-eval into main 2024-11-18 10:08:43 +00:00
DavHau
6a373f92d1 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
clan-bot
a72bd20b60 Merge pull request 'Automatic flake update - sops-nix - 2024-11-18T00:00+00:00' (#2427) from flake-update-sops-nix-2024-11-18 into main 2024-11-18 00:32:01 +00:00
clan-bot
db989f3279 Merge pull request 'Automatic flake update - disko - 2024-11-18T00:00+00:00' (#2423) from flake-update-disko-2024-11-18 into main 2024-11-18 00:20:08 +00:00
clan-bot
41931ed15b Merge pull request 'Automatic flake update - nixos-facter-modules - 2024-11-18T00:00+00:00' (#2424) from flake-update-nixos-facter-modules-2024-11-18 into main 2024-11-18 00:20:07 +00:00
Clan Merge Bot
d4eeddadda update flake lock - sops-nix - 2024-11-18T00:00+00:00
Flake lock file updates:

• Updated input 'sops-nix':
    'github:Mic92/sops-nix/f1675e3b0e1e663a4af49be67ecbc9e749f85eb7?narHash=sha256-jR8i6nFLmSmm0cIoeRQ8Q4EBARa3oGaAtEER/OMMxus%3D' (2024-11-10)
  → 'github:Mic92/sops-nix/472741cf3fee089241ac9ea705bb2b9e0bfa2978?narHash=sha256-NVUTFxKrJp/hjehlF1IvkPnlRYg/O9HFVutbxOM8zNM%3D' (2024-11-17)
• Removed input 'sops-nix/nixpkgs-stable'
2024-11-18 00:00:26 +00:00
Clan Merge Bot
6d51998a8c update flake lock - nixos-facter-modules - 2024-11-18T00:00+00:00
Flake lock file updates:

• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/d0e205eafca7091caad3925ff82a46fea08351e1?narHash=sha256-2KexAe17KRg2191SdBxVXqJKwV6MxKzlE35DDcAX%2BDs%3D' (2024-11-05)
  → 'github:numtide/nixos-facter-modules/5a1c2a28589e34f8a44d46dd1909cfacf928cb1a?narHash=sha256-aIy8m4jjr/BFXzniNzoH16sF7HEFV/01/5b3FhtUHrw%3D' (2024-11-17)
2024-11-18 00:00:03 +00:00
Clan Merge Bot
9a9e893cd3 update flake lock - disko - 2024-11-18T00:00+00:00
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/486250f404f4a4f4f33f8f669d83ca5f6e6b7dfc?narHash=sha256-cZ0QMpv5p2a6WEE%2Bo9uu0a4ma6RzQDOQTbm7PbixWz8%3D' (2024-11-10)
  → 'github:nix-community/disko/cb64993826fa7a477490be6ccb38ba1fa1e18fa8?narHash=sha256-f3SSp1axoOk0NAI7oFdRzbxG2XPBSIXC%2B/DaAXnvS1A%3D' (2024-11-16)
2024-11-18 00:00:01 +00:00
clan-bot
4bdb0e9cc0 Merge pull request 'clan: Fix dyndns module' (#2421) from Qubasa/clan-core:Qubasa-main into main 2024-11-17 12:13:08 +00:00
Qubasa
eefe1106d3 clan: Fix dyndns module 2024-11-17 13:07:16 +01:00
clan-bot
384562a1df Merge pull request 'password-store owner & group support' (#2418) from lassulus/clan-core:pass-owner into main 2024-11-16 09:38:18 +00:00
lassulus
8e1697a089 password-store owner & group support 2024-11-16 01:18:59 +01:00
clan-bot
d9b1c59382 Merge pull request 'modules/frontmatter: init module interface as source of frontmatter' (#2420) from hsjobeki/clan-core:hsjobeki-main into main 2024-11-15 19:09:36 +00:00
Johannes Kirschbauer
d5c2c1af67 modules/frontmatter: init module interface as source of frontmatter 2024-11-15 20:04:06 +01:00
clan-bot
dfefe41c32 Merge pull request 'clan-cli: Change rsync to ssh upload' (#2381) from Qubasa/clan-core:Qubasa-scp_upload into main 2024-11-15 15:09:44 +00:00
Qubasa
250eed0798 clan-cli: upload.py -> Replace rsync with native ssh command 2024-11-15 22:03:47 +07:00
clan-bot
cb32d9e275 Merge pull request 'pkgs/cli: Add comment to add_common_flags function' (#2419) from kenji/clan-core:kenji-cli/suppress/comment into main 2024-11-15 11:12:31 +00:00
a-kenji
9be8d5dbeb pkgs/cli: Add comment to add_common_flags function 2024-11-15 12:06:10 +01:00
Mic92
830ead1e70 Merge pull request 'pkgs/cli: Fix adding common flags for aliases' (#2411) from kenji/clan-core:kenji-cli/fix/common-flags into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2411
2024-11-15 10:49:03 +00:00
a-kenji
032bf4b09b pkgs/cli: Fix adding common flags for aliases 2024-11-15 10:49:03 +00:00
Mic92
50ea7ac91a Merge pull request 'Fix encrypting shared vars' (#2417) from var-fixes into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2417
2024-11-14 15:37:55 +00:00
Jörg Thalheim
c98055c781 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
8f1e5ed1eb vars/get: use machine_name as variable name 2024-11-14 15:37:55 +00:00
Jörg Thalheim
4a389b0fb3 vars/sops: simplify conditional in exists 2024-11-14 15:37:55 +00:00
clan-bot
7852006eda 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
9e31ba823d pkgs/cli: Improve help description 2024-11-14 15:34:24 +01:00