b74590f381
Inventory: simplify build-clan interface
2024-06-25 12:23:29 +00:00
2f8b782a1f
Inventory: init module merge & validation logic for inventory
2024-06-25 12:23:29 +00:00
c89080deb4
Extend build-clan interface
2024-06-25 12:23:29 +00:00
e44b07df66
inventory: rename clan.services
2024-06-25 12:23:29 +00:00
afca7ae0cc
update inventory implementation
2024-06-25 12:23:29 +00:00
3a9c56deb2
readme improvements
2024-06-25 12:23:29 +00:00
5f72778ade
schema improvements
2024-06-25 12:23:29 +00:00
d934b67c72
Inventory: implement borgbackup
2024-06-25 12:23:29 +00:00
241cca5b70
Docs: rename clanName to just name
2024-06-25 14:21:53 +02:00
39ec23bd31
Merge pull request 'clan-cli: Better env jailing in temporary_home' ( #1659 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-25 10:06:55 +00:00
62839b6fa0
clan-cli: Better env jailing in temporary_home
2024-06-25 12:03:44 +02:00
5ae8ccbbdd
Merge pull request 'clan: state list improve formatting' ( #1658 ) from kenji/clan-core:clan/state-list-improve into main
...
Reviewed-on: clan/clan-core#1658
2024-06-25 09:56:29 +00:00
af2ffb7e5e
clan: state list improve formatting
2024-06-25 11:50:19 +02:00
d1f2679c45
Merge pull request 'cli: add command to list state' ( #1657 ) from kenji/clan-core:cli/state-list into main
...
Reviewed-on: clan/clan-core#1657
2024-06-25 09:34:31 +00:00
3bcaeda737
cli: add command to list state
...
Add a subcommand to list configured state for a specific machine.
Example:
```
$ clan state list [MACHINE]
```
2024-06-25 09:34:31 +00:00
4983c6d302
Merge pull request 'blog: fix typos in backup blog' ( #1656 ) from kenji/clan-core:blog-backups-fix-typo into main
...
Reviewed-on: clan/clan-core#1656
2024-06-25 09:02:52 +00:00
63e6aaf1fe
blog: fix typos in backup blog
2024-06-25 09:02:52 +00:00
b2332e796e
Merge pull request 'clan: ssh fix typos' ( #1655 ) from kenji/clan-core:fix-typo into main
...
Reviewed-on: clan/clan-core#1655
2024-06-25 08:50:36 +00:00
cd8ec83881
clan: ssh fix typos
2024-06-25 10:32:05 +02:00
7ef86e99dc
Merge pull request 'clan-cli: Acutally test SecretStore for age and password-store.' ( #1654 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-24 19:45:06 +00:00
70ca824e88
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
690a1fe64c
Merge pull request 'clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret' ( #1653 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-24 18:11:26 +00:00
38c0233496
clan-cli: Fix user-password without user-prompt. Remove newlines from user-password and root-password. Improve test_generate_secret
2024-06-24 20:08:02 +02:00
ff1863f37e
Merge pull request 'clan-cli: Add validity check for ssh' ( #1652 ) from Qubasa/clan-core:Qubasa-test_secrets into main
2024-06-24 17:26:34 +00:00
eac869dde5
Fix run_vm test
...
nix fmt
2024-06-24 19:23:16 +02:00
88f97bd2b6
Fixed Contributing.md guide
2024-06-24 19:22:24 +02:00
fdd7ac7bbf
Add repro-hook to .gitignore
2024-06-24 19:22:24 +02:00
8038a9b488
clan-cli: Add validity check for ssh
...
stash
2024-06-24 19:22:19 +02:00
37311f8145
Merge pull request 'Inventory: add concrete use-case examples' ( #1650 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-24 14:03:46 +00:00
d7dc66da03
Json-schema tests: add schema specifier to test
2024-06-24 16:00:46 +02:00
51154c1d54
schema improvements: add additionalProperties: false to ensure closed types
2024-06-24 15:55:48 +02:00
13c3169b41
lib: eval clan module as lib function
2024-06-24 15:47:25 +02:00
fd62efc745
Merge pull request 'dev report: backup' ( #1651 ) from matrix into main
2024-06-24 13:08:51 +00:00
5575c5d214
first draft of the backup article
2024-06-24 15:05:37 +02:00
294c5548b9
Inventory: add concrete use-case examples
2024-06-24 14:35:41 +02:00
fd9ad38900
Merge pull request 'Automatic flake update - 2024-06-24T00:00+00:00' ( #1648 ) from flake-update-2024-06-24 into main
2024-06-24 00:06:47 +00:00
Clan Merge Bot
21e9945c97
update flake lock - 2024-06-24T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/1bbdb06f14e2621290b250e631cf3d8948e4d19b' (2024-06-09)
→ 'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e' (2024-06-20)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/d14b286322c7f4f897ca4b1726ce38cb68596c94' (2024-05-20)
→ 'github:nix-community/nixos-generators/35c20ba421dfa5059e20e0ef2343c875372bdcf3' (2024-06-10)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/72771bd35f4e19e32d6f652528483b5e07fc317b' (2024-06-07)
→ 'github:nix-community/nixos-images/c1e6a5f7b08f1c9993de1cfc5f15f838bf783b88' (2024-06-20)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/7d916e720af6b2ca355e4d0cfb8e4f742c172239' (2024-06-09)
→ 'github:NixOS/nixpkgs/084f8df2f3ff80cdec6f515931036f63c5d2f36c' (2024-06-23)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/f0922ad001829b400f0160ba85b47d252fa3d925' (2024-06-09)
→ 'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811' (2024-06-23)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed' (2024-06-08)
→ 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
2024-06-24 00:00:22 +00:00
f4283982b3
Merge pull request 'fix fake-etc build on machines without sandbox' ( #1645 ) from fix-macos-deploy into main
2024-06-21 15:05:45 +00:00
6086f27263
fix fake-etc build on machines without sandbox
...
If we have no sandbox enabled or on macos with sandbox enabled, /etc
contains a lot more files than we actually want.
Instead of copying some random files, we now just create those files
ourself.
2024-06-21 17:01:40 +02:00
0dfa1d969f
Merge pull request 'clan-cli: Add validity check for age key generation' ( #1642 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-21 13:18:34 +00:00
1ff58adcef
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
641ec7e097
Merge pull request 'clan-cli: Disable stack trace on KeyboardInterrupt' ( #1641 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-21 11:14:47 +00:00
8ee33950e6
clan-cli: Disable stack trace on KeyboardInterrupt
2024-06-21 13:11:33 +02:00
b3123b150f
Merge pull request 'clan.core.state: wrap all commands in shell scripts' ( #1639 ) from refactor-state into main
2024-06-20 16:20:31 +00:00
20b952b4cd
fix dropping non-existing database
2024-06-19 18:00:51 +02:00
aa5ccfb8bd
clanCore -> clan.core
2024-06-19 17:55:59 +02:00
ef9ed1ebea
clan.core.state: wrap all commands in shell scripts
...
Otherwise we cannot execute them via ssh and also have nix store
dependencies.
2024-06-19 17:54:46 +02:00
117aed49e3
postgresql: don't prepend postgresql- for states
2024-06-19 17:38:31 +02:00
9bbf7f668a
Merge pull request 'Inventory: add concrete use-case examples' ( #1636 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-19 11:08:04 +00:00
afdfa6181b
Inventory: add concrete use-case examples
2024-06-19 13:04:10 +02:00