DavHau
af692321f1
vars: add test for deployment
2024-08-04 15:33:16 +07:00
clan-bot
1397beb95e
Merge pull request 'clan-cli/vms: add option --publish to forward ports from host to guest' ( #1847 ) from DavHau/clan-core:DavHau-vars into main
2024-08-04 08:32:02 +00:00
DavHau
9381d78feb
clan-cli/vms: add option --publish to forward ports from host to guest
2024-08-04 15:28:51 +07:00
clan-bot
0fdfbf99e6
Merge pull request 'tests: improve testing framework for impure vm tests' ( #1846 ) from DavHau/clan-core:DavHau-vars into main
2024-08-04 06:43:44 +00:00
DavHau
b2646aa0fe
tests: improve testing framework for impure vm tests
...
Also fix computet sops secret paths for vars
2024-08-04 13:40:12 +07:00
clan-bot
b93aa1896e
Merge pull request 'build-clan: fix specialArgs not passed' ( #1845 ) from DavHau/clan-core:DavHau-dave into main
2024-08-04 06:10:37 +00:00
DavHau
d7475bef37
build-clan: fix specialArgs not passed
2024-08-04 13:06:51 +07:00
clan-bot
a9f0e90d12
Merge pull request 'devshell: remove dependency on clan-cli' ( #1844 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 15:42:27 +00:00
DavHau
c5b8948509
devshell: remove dependency on clan-cli
...
This stops the devshell from being re-built constantly, when the source code changes.
Based on a new feature in treefmt-nix: https://github.com/numtide/treefmt-nix/pull/208
2024-08-03 22:37:03 +07:00
clan-bot
337a2ea883
Merge pull request 'Add build-clan module' ( #1843 ) from hsjobeki/clan-core:hsjobeki-flake-parts into main
2024-08-03 11:38:18 +00:00
Johannes Kirschbauer
15ba9b8bfb
Fix: type test
2024-08-03 13:14:08 +02:00
Johannes Kirschbauer
91397adbfc
Fix: regression list_machines. Split into multiple functions
...
list_inventory_machines, list_nixos_machine, list_sops_machines
The caller of the function should specify which machines they wants to see
2024-08-03 12:43:35 +02:00
Johannes Kirschbauer
79e15bff24
Add: legacy support for implicitly creating machines through creating a directory
...
This will be deprecated as soon as the tests dont rely on this behavior anymore
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
5d12154f96
Forward clan name for vm test compatibility
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
ac6b7f84e0
Fix wrong unit tests
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
ef58bea020
Fix wrong default for imports
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
d51508656f
Add flake-parts module
2024-08-03 12:05:09 +02:00
Johannes Kirschbauer
8fd09b8403
Add build-clan module
2024-08-03 12:05:09 +02:00
clan-bot
f6daaf79a7
Merge pull request 'vars: simplify tests' ( #1842 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 08:51:39 +00:00
DavHau
d3542cf1c8
vars: simplify tests
2024-08-03 15:47:35 +07:00
clan-bot
844c219348
Merge pull request 'vars: introduce share flag' ( #1841 ) from DavHau/clan-core:DavHau-vars into main
2024-08-03 08:33:38 +00:00
DavHau
8086f70b79
clan-cli/tests: improve test helpers for VMs
2024-08-03 15:26:53 +07:00
DavHau
cc9c828598
vars: introduce share flag
2024-08-03 15:26:53 +07:00
clan-bot
a40ddd2b24
Merge pull request 'clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid. formatter.nix: Add deno as formatter' ( #1839 ) from Qubasa/clan-core:Qubasa-Qubasa-main into main
2024-08-02 17:02:32 +00:00
Qubasa
58a36a5c12
formatter.nix: Add prettier
2024-08-02 18:56:53 +02:00
Qubasa
f1d124dabd
clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid.
2024-08-02 17:51:45 +02:00
kenji
e2bdf22f78
Merge pull request 'formatter: remove broken vale configuration' ( #1835 ) from kenji/clan-core:clan/rm-broken-vale into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1835
Reviewed-by: Luis Hebendanz <consulting@qube.email >
2024-07-31 17:04:54 +00:00
a-kenji
c7c6012bcc
formatter: remove broken vale configuration
...
Removes the broken and uncommented value configuration for vale.
While vale can be a valuable tool, we need a working configuration if we
want to use it. Keeping a broken configuration on main is not a
sustainable model.
We can fix it and reintroduce it cleanly at a later stage.
2024-07-31 18:42:16 +02:00
Mic92
b3af929490
Merge pull request 'clan: remove config subcommand' ( #1828 ) from kenji/clan-core:clan/remove-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1828
2024-07-31 16:35:36 +00:00
a-kenji
a465ad8638
clan: remove config subcommand
...
This removes the `config` subcommand from the cli and the documentation
to keep the api surface small.
While this functionality was convenient it doesn't need to be surfaced
by the clan cli.
The remaining `config` python module should be ported to the `clan-app`
in a follow up pr. Because the functionality is currently only used by
the `clan-app`.
Ideally together with: #1830 .
2024-07-31 16:35:36 +00:00
clan-bot
26edcb8562
Merge pull request 'Deserializer: add Literal; Annotated fields' ( #1833 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-31 11:06:48 +00:00
Johannes Kirschbauer
6c5f9ca6db
Deserializer: add Literal; Annotated fields
2024-07-31 13:00:28 +02:00
clan-bot
0894ee95c8
Merge pull request 'Deserializer: replace pydantic' ( #1826 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-30 12:36:08 +00:00
kenji
350d565ddd
Merge pull request 'clan: remove flatpak check' ( #1831 ) from kenji/clan-core:clan/rm-flatpak into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1831
2024-07-30 12:34:19 +00:00
Johannes Kirschbauer
4b2d1b7923
Deserializer: add Nullable fields
2024-07-30 14:26:13 +02:00
a-kenji
acb5560de8
clan: remove flatpak check
...
This check logs, if the cli is started inside a flatpak environment.
2024-07-30 14:21:15 +02:00
kenji
2d4cd0c9be
Merge pull request 'merge-after-ci: use nix fmt' ( #1823 ) from kenji/clan-core:feat/merge-after-ci into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1823
2024-07-30 11:43:40 +00:00
a-kenji
d360cf86cb
merge-after-ci: use nix fmt
...
Use `nix fmt` instead of `treefmt` directly, since `treefmt` depends on
the cached devshell. This can lead to confusing errors.
2024-07-30 11:43:40 +00:00
kenji
f11ddf92e9
Merge pull request 'checks/mumble: improve dependency closure' ( #1827 ) from kenji/clan-core:mumble-improve-closure into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1827
2024-07-30 11:40:13 +00:00
a-kenji
9f6f754606
checks/mumble: improve dependency closure
2024-07-30 13:11:50 +02:00
kenji
03f87b24d3
Merge pull request 'clan/secrets: improve naming of secret key' ( #1825 ) from kenji/clan-core:kenji-cli-change-wording into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1825
Reviewed-by: Mic92 <joerg@thalheim.io >
2024-07-30 10:58:45 +00:00
a-kenji
ccdfd0c6fc
clan/secrets: improve naming of secret key
...
Change the secret key help wording to: `secret-name`,
to convey that it is the key and not the value.
Fixes : #1696
2024-07-30 12:54:22 +02:00
Johannes Kirschbauer
e21bfbc257
Deserializer: replace pydantic
2024-07-30 12:26:16 +02:00
kenji
f3c909b563
Merge pull request 'gitignore: add .nixos-test-history' ( #1822 ) from kenji/clan-core:kenji-git/add-nixos-test into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1822
2024-07-30 09:27:30 +00:00
a-kenji
b357b545d3
gitignore: add .nixos-test-history
...
Add the artifacts created by nixos tests to gitignore.
2024-07-30 09:27:30 +00:00
kenji
915b2fbe73
Merge pull request 'mumble: init clan-module' ( #1821 ) from kenji/clan-core:init/mumble-module into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1821
2024-07-30 09:21:00 +00:00
a-kenji
13c70168a4
mumble: init clan-module
...
This adds the `mumble` clan-module.
This allows for voice chatting in a true peer-to-peer network.
Every machine that has the module enabled is a potential host and
client - every participant has the same role.
It doesn't matter who in the network is online - as long as one of the
machines is up, one server is up and people can start their voice chat.
2024-07-30 10:55:08 +02:00
Mic92
99a87a6120
Merge pull request 'better visual seperation between flake/non-flake version' ( #1817 ) from facter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1817
2024-07-29 15:56:51 +00:00
Jörg Thalheim
c037ec2eeb
better visual seperation between flake/non-flake version
2024-07-29 15:56:51 +00:00
Mic92
65c03ecf96
Merge pull request 'blog: grammar fixes for introducing nixos-facter' ( #1820 ) from brianmcgee/clan-core:fix/blog-nixos-facter-grammmer into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1820
2024-07-29 15:56:37 +00:00
Brian McGee
d04d5b2c3b
blog: grammar fixes for introducing nixos-facter
2024-07-29 16:51:00 +01:00
clan-bot
ded91c308a
Merge pull request 'clan-vm-manager: Fix regression' ( #1818 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-29 15:37:02 +00:00
Qubasa
0dcc9f903b
clan-vm-manager: Fix regression
2024-07-29 17:33:46 +02:00
clan-bot
35e5ad513d
Merge pull request 'Clan-app: edit clan, memoize active clan' ( #1819 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-29 15:10:00 +00:00
Johannes Kirschbauer
6a13cb80cb
Clan-app: edit clan, memoize active clan
2024-07-29 17:06:11 +02:00
clan-bot
d80488f786
Merge pull request 'nixos-facter: smaller fixes' ( #1816 ) from facter into main
2024-07-29 13:59:51 +00:00
Jörg Thalheim
2f07e47926
nixos-facter: smaller fixes
2024-07-29 15:53:50 +02:00
Mic92
034593f742
Merge pull request 'blog: introducing nixos-facter' ( #1786 ) from brianmcgee/clan-core:blog/nixos-facter into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1786
2024-07-29 13:47:00 +00:00
Jörg Thalheim
2f9945bec5
disko fixup
2024-07-29 15:43:07 +02:00
Brian McGee
94f65d3118
blog: introducing nixos-facter
2024-07-29 13:24:37 +00:00
DavHau
2155675fc6
vars: fix bug when computing taarget path for sops
2024-07-29 12:09:59 +00:00
clan-bot
3da42e698b
Merge pull request 'shell.nix: remove dependency in shell.nix on webui' ( #1815 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-29 12:07:27 +00:00
Qubasa
21f7a3c269
shell.nix: remove dependency in shell.nix on webui
2024-07-29 13:52:11 +02:00
clan-bot
aaa8411d89
Merge pull request 'vars/sops: fix loading of vars from directory structure' ( #1813 ) from DavHau/clan-core:DavHau-vars into main
2024-07-29 11:05:29 +00:00
DavHau
a5065a1936
vars/sops: fix loading of vars from directory structure
2024-07-29 18:01:26 +07:00
clan-bot
7b053abb13
Merge pull request 'Clan-app: example disk view' ( #1812 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-29 09:55:21 +00:00
Johannes Kirschbauer
d11e725a80
Clan-app: example disk view
2024-07-29 11:49:55 +02:00
clan-bot
5223506e29
Merge pull request 'Serializer: use alias, make it configurable for different use cases' ( #1811 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-29 07:04:44 +00:00
Johannes Kirschbauer
3e5ceb0eeb
Serializer: use alias, make it configurable for different use cases
2024-07-29 09:01:06 +02:00
clan-bot
a958532766
Merge pull request 'Serde: add unit tests for all serialization and deserialization logic' ( #1809 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-26 13:27:00 +00:00
Johannes Kirschbauer
b015f1f123
PropagatedBuild inputs workaround
2024-07-26 15:23:25 +02:00
Johannes Kirschbauer
c648e647bf
Serde: add unit tests for all serialization and deserialization logic
2024-07-26 14:23:41 +02:00
clan-bot
2b6a5f8385
Merge pull request 'Clan-app: add dependencies; floating-ui; eslint-query' ( #1808 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-25 12:29:16 +00:00
Johannes Kirschbauer
53d7c2507e
Clan-app: add popover - remove clan confirm
2024-07-25 13:11:50 +02:00
Johannes Kirschbauer
7783f17425
Clan-app: add dependencies; floating-ui; eslint-query
2024-07-25 13:09:18 +02:00
clan-bot
8dc02474fc
Merge pull request 'Update documentation' ( #1807 ) from joerg-ci into main
2024-07-24 18:36:15 +00:00
Jörg Thalheim
16e87c52e9
docs/setup: recommends nixos configuration for nixos users
2024-07-24 20:28:50 +02:00
Jörg Thalheim
5e16de17a3
docs/setup: also mention experimental option in case someone already has nix installed
2024-07-24 20:28:46 +02:00
Jörg Thalheim
eded0a62b0
CONTRIBUTING: mention browser
2024-07-24 20:28:35 +02:00
clan-bot
777962003f
Merge pull request 'fix error message when removing secrets' ( #1806 ) from Mic92-main into main
2024-07-24 18:27:19 +00:00
Jörg Thalheim
3583c25c67
fix error message when removing secrets
2024-07-24 20:21:10 +02:00
clan-bot
2532e93667
Merge pull request 'remove 'Extra config:' warning' ( #1805 ) from Mic92-main into main
2024-07-24 18:10:50 +00:00
Jörg Thalheim
a6f4d6fbf0
remove 'Extra config:' warning
2024-07-24 20:04:31 +02:00
clan-bot
6a8bb1be8d
Merge pull request 'Clan-app: devshell add schemas for gtk4; gsettings' ( #1803 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-24 16:31:47 +00:00
Johannes Kirschbauer
fe10c5fbd6
Clan-app: show clan details for each registered clan
2024-07-24 18:26:26 +02:00
Johannes Kirschbauer
ef973ff475
Clan-app: devshell add schemas for gtk4; gsettings
2024-07-24 18:26:26 +02:00
clan-bot
eeb35a26db
Merge pull request 'vars/sops: store secrets in /sops/vars' ( #1802 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 11:48:31 +00:00
DavHau
9996f5596c
vars/sops: store secrets in /sops/vars
2024-07-24 18:42:50 +07:00
clan-bot
8020010fcf
Merge pull request 'Inventory improvements' ( #1795 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-24 11:23:16 +00:00
clan-bot
122ce665ed
Merge pull request 'sops/refactor: lay groundwork for secrets with arbitrary paths' ( #1801 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 11:16:01 +00:00
Johannes Kirschbauer
1d51ae5c85
Fix unit tests
2024-07-24 13:15:08 +02:00
DavHau
ac5d421f84
sops/refactor: lay groundwork for secrets with arbitrary paths
2024-07-24 18:12:19 +07:00
clan-bot
63970defc0
Merge pull request 'secrets: refactor parameter naming' ( #1800 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 10:55:42 +00:00
DavHau
0222ebf482
secrets: refactor parameter naming
2024-07-24 17:50:03 +07:00
clan-bot
7a8d458581
Merge pull request 'flake.nix: remove unnecessary newline' ( #1799 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 10:41:13 +00:00
DavHau
14b88fe695
flake.nix: remove unnecessary newline
2024-07-24 17:35:55 +07:00
clan-bot
794285aa77
Merge pull request 'tests/generate_flake: support inventory argument' ( #1798 ) from DavHau/clan-core:DavHau-vars into main
2024-07-24 10:10:03 +00:00
DavHau
bf5cc8c215
tests/generate_flake: support inventory argument
2024-07-24 17:06:42 +07:00
clan-bot
4d25118853
Merge pull request 'Add clan.borgbackup.exclude.' ( #1790 ) from inventory-fixes into main
2024-07-24 08:40:54 +00:00
Johannes Kirschbauer
c8407e2052
Python Inventory classes: Auto-update
2024-07-24 10:37:19 +02:00
Johannes Kirschbauer
5b4105b4d8
Fix minimal template
2024-07-24 10:34:11 +02:00
Johannes Kirschbauer
d38983c784
Create machine: init view with api
2024-07-24 10:34:11 +02:00
Johannes Kirschbauer
f787acdaa4
CLI: fix flakeId url interpretation
2024-07-24 10:34:11 +02:00
Johannes Kirschbauer
580cc12671
cli: Disable pre-commit hooks for cli commands
2024-07-24 10:34:10 +02:00
Johannes Kirschbauer
679fd914e0
Inventory: add load_eval method
2024-07-24 10:34:10 +02:00
Johannes Kirschbauer
c6466f070e
Fix: hostPlatform not hostSystem
2024-07-24 10:34:10 +02:00
clan-bot
a294c6d454
Merge pull request 'clan-vm-manager, clan-app: Make executable icon work in process overview' ( #1797 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-23 12:15:51 +00:00
Qubasa
4193d9e9a9
clan-vm-manager, clan-app: Make executable icon work in process overview
2024-07-23 14:12:45 +02:00
clan-bot
bb9da50d45
Merge pull request 'clan-vm-manager: Fix waypipe regression in nix code' ( #1793 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-23 11:24:05 +00:00
clan-bot
b1af97f2a5
Merge pull request 'clan-cli/secrets: refactor: rename secret -> secret_path' ( #1796 ) from DavHau/clan-core:DavHau-vars into main
2024-07-23 11:24:05 +00:00
Qubasa
c6a0cd9398
clan-vm-manager: Fix waypipe regression in nix code
2024-07-23 13:20:02 +02:00
DavHau
00f7a6300b
clan-cli/secrets: refactor: rename secret -> secret_path
2024-07-23 18:18:32 +07:00
clan-bot
aec1238f20
Merge pull request 'vars: add support for password-store' ( #1794 ) from DavHau/clan-core:DavHau-vars into main
2024-07-23 07:59:50 +00:00
DavHau
5bd20fcf2c
vars: add support for password-store
2024-07-23 14:54:18 +07:00
clan-bot
9127dc3358
Merge pull request 'vars: implement prompts' ( #1792 ) from DavHau/clan-core:DavHau-vars into main
2024-07-22 13:46:39 +00:00
DavHau
9ff076aec1
vars: implement prompts
2024-07-22 20:40:12 +07:00
clan-bot
72019d6bcb
Merge pull request 'Automatic flake update - 2024-07-22T00:00+00:00' ( #1791 ) from flake-update-2024-07-22 into main
2024-07-22 00:06:51 +00:00
Clan Merge Bot
249a18a734
update flake lock - 2024-07-22T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/786965e1b1ed3fd2018d78399984f461e2a44689' (2024-07-11)
→ 'github:nix-community/disko/bec6e3cde912b8acb915fecdc509eda7c973fb42' (2024-07-19)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/5eddae0afbcfd4283af5d6676d08ad059ca04b70' (2024-07-11)
→ 'github:nix-community/nixos-images/accee005735844d57b411d9969c5d0aabc6a55f6' (2024-07-21)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/0af9d835c27984b3265145f8e3cbc6c153479196' (2024-07-14)
→ 'github:NixOS/nixpkgs/4cc8b29327bed3d52b40041f810f49734298af46' (2024-07-21)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/0703ba03fd9c1665f8ab68cc3487302475164617' (2024-07-14)
→ 'github:Mic92/sops-nix/909e8cfb60d83321d85c8d17209d733658a21c95' (2024-07-21)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14' (2024-07-14)
→ 'github:numtide/treefmt-nix/888bfb10a9b091d9ed2f5f8064de8d488f7b7c97' (2024-07-20)
2024-07-22 00:00:22 +00:00
Jörg Thalheim
00bad3d614
borgbackup: add exclude option
2024-07-21 19:08:26 +02:00
Jörg Thalheim
ed5dd02879
also fix user-password with password-store
2024-07-21 18:21:37 +02:00
clan-bot
6c7e9bafea
Merge pull request 'root-password: fix password-store support' ( #1789 ) from inventory-fixes into main
2024-07-21 16:14:47 +00:00
Jörg Thalheim
a1a36606e4
cleanup deprecated facts options
2024-07-21 18:11:30 +02:00
Jörg Thalheim
3d12aabf0c
test_flake_with_core_and_pass: don't use deprecated options
2024-07-21 18:03:51 +02:00
Jörg Thalheim
e79e199c9a
root-password: fix password-store support
2024-07-21 17:59:11 +02:00
clan-bot
1db0321163
Merge pull request 'Clan create fixes' ( #1788 ) from inventory-fixes into main
2024-07-21 15:05:13 +00:00
Jörg Thalheim
d356a63d6c
improve lsblk instructions
2024-07-21 16:39:01 +02:00
Jörg Thalheim
824c5d3f80
flake/create: fix "directory does not exist" error
2024-07-21 16:00:35 +02:00
Jörg Thalheim
563ead4652
only set git author / email when no one is set globally
2024-07-21 16:00:35 +02:00
Jörg Thalheim
79a6ad2715
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
2516f38c37
remove deprecated adwaita-icon-theme
2024-07-21 15:26:37 +02:00
clan-bot
f3c9c379e6
Merge pull request 'Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1787 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-19 20:23:25 +00:00
Qubasa
3546586dde
fixup! fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:20:12 +02:00
Qubasa
aa792fedfd
fixup! fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:29 +02:00
Qubasa
f1182af5a1
fixup! clan-vm-manager: Restore to known good version
2024-07-19 22:12:17 +02:00
Qubasa
728f8f5758
clan-vm-manager: Restore to known good version
2024-07-19 22:07:34 +02:00
DavHau
1cb69cb5fc
Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit 9778444706 .
workaround upstream bug: https://github.com/NixOS/nixpkgs/issues/324802
2024-07-19 22:07:34 +02:00
clan-bot
f66b809866
Merge pull request 'Classgen: refactor functions' ( #1785 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-19 16:52:37 +00:00
Johannes Kirschbauer
6d441a1494
Classgen: make type order predictable
2024-07-19 18:49:16 +02:00
Johannes Kirschbauer
5c18f67fed
Classgen: refactor functions
2024-07-19 18:20:22 +02:00
clan-bot
a7e3fd431d
Merge pull request 'Classgen: add error reporting and combine common classes' ( #1784 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-19 11:07:06 +00:00
Johannes Kirschbauer
3435db68c8
Classgen: add error reporting and combine common classes
2024-07-19 13:03:38 +02:00
clan-bot
f00ddcad10
Merge pull request 'Docs: explain inventory imports' ( #1783 ) from hsjobeki/clan-core:hsjobeki-rearrange-docs-front into main
2024-07-19 09:29:59 +00:00
Johannes Kirschbauer
988ed9dccd
Docs: explain inventory imports
2024-07-19 11:26:34 +02:00
clan-bot
aab6a45cda
Merge pull request 'Docs: remove generated inventory.md from git index' ( #1782 ) from hsjobeki/clan-core:hsjobeki-rearrange-docs-front into main
2024-07-19 09:20:32 +00:00
Johannes Kirschbauer
afa0984b57
Docs: remove generated inventory.md from git index
2024-07-19 11:17:08 +02:00
clan-bot
ee65d3918b
Merge pull request 'docs: add reference index pages' ( #1781 ) from hsjobeki/clan-core:rearrange-docs-front into main
2024-07-19 09:11:33 +00:00
Johannes Kirschbauer
67b76c8ced
Docs: generate api docs for inventory
2024-07-19 11:07:47 +02:00
Valentin Gagarin
13b8b949f9
docs: add reference index pages
...
- add index pages for each reference documentation category
- move concepts pages into the reference hierarchy
- render clanModules overview page in the style of the CLI overview
2024-07-19 10:27:04 +02:00
clan-bot
3a3f8e0756
Merge pull request 'Init: Autogenerate classes from nix interfaces' ( #1778 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-19 07:58:57 +00:00
Johannes Kirschbauer
6d49f5c926
Commit generated code otherwise CI cannot check types
2024-07-19 09:52:14 +02:00
Johannes Kirschbauer
c92ee71d42
Jsonschema: fix tests
2024-07-18 22:04:11 +02:00
Johannes Kirschbauer
07965598f5
Classgen: add mapped keys and more stuff
2024-07-18 21:58:36 +02:00
Johannes Kirschbauer
7e84eaa4b3
Init: Autogenerate classes from nix interfaces
2024-07-18 19:14:12 +02:00
clan-bot
fd0ebc7ec0
Merge pull request 'clan: Fix treefmt not applying mypy lints on clan_cli and clan_app' ( #1777 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-17 19:54:20 +00:00
Qubasa
8ad7c2b89a
clan: Fix treefmt not applying mypy lints on clan_cli and clan_app
2024-07-17 21:50:52 +02:00
clan-bot
75f34bdf50
Merge pull request 'tea-create-pr: disable treefmt cache' ( #1776 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-17 16:30:45 +00:00
Qubasa
2018a79fc2
tea-create-pr: disable treefmt cache
2024-07-17 18:27:29 +02:00
clan-bot
76cad49446
Merge pull request 'borgbackup/server: warning if a machine does not have a secret generated yet.' ( #1775 ) from inventory-fixes into main
2024-07-17 14:03:10 +00:00
Jörg Thalheim
d51bf05821
borgbackup/server: warning if a machine does not have a secret generated yet.
2024-07-17 16:00:07 +02:00
Mic92
5814e9790f
Merge pull request 'Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"' ( #1774 ) from fix-deployment into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1774
2024-07-17 12:31:48 +00:00
Jörg Thalheim
0d6e2539e3
Revert "clan-cli: deprecate nix_shell() in favor of run_cmd()"
...
This reverts commit 37e6ca7a30 .
2024-07-17 14:04:49 +02:00
clan-bot
55fc9dd00d
Merge pull request 'clan-app: Improve install-desktop.sh and add new desktop icons' ( #1773 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-17 11:27:59 +00:00
clan-bot
47833067e5
Merge pull request 'Init: classgenerator' ( #1772 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-17 11:24:50 +00:00
Qubasa
8f74a2d1de
clan-app: Improve install-desktop.sh and add new desktop icons
2024-07-17 13:24:44 +02:00
Johannes Kirschbauer
3706b6b80c
Fix: api
2024-07-17 13:21:43 +02:00
Johannes Kirschbauer
9c61182bc9
Init: classgenerator
2024-07-17 13:21:43 +02:00
clan-bot
f317495e80
Merge pull request 'Inventory: init: deployment info for machines' ( #1767 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-17 10:18:50 +00:00
Johannes Kirschbauer
69874a2405
Fix eval tests
2024-07-17 12:12:42 +02:00
Johannes Kirschbauer
076a5cad89
Unit tests: fix template test - override the input in the flake template
2024-07-17 12:06:23 +02:00
clan-bot
af04e513a0
Merge pull request 'vars: implement dependencies' ( #1771 ) from DavHau/clan-core:DavHau-vars into main
2024-07-17 09:45:41 +00:00
DavHau
117843021e
vars: implement dependencies
2024-07-17 16:42:16 +07:00
Johannes Kirschbauer
24b3674983
Inventory: fix dataclasses discrepancy once more
2024-07-17 11:39:18 +02:00
Johannes Kirschbauer
0bfba72739
Inventory: fix options
2024-07-17 10:55:46 +02:00
Johannes Kirschbauer
ef18d60286
Inventory: extend python dataclasses by schema changes
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
7e21428548
Inventory: extend model by deployment info
2024-07-17 10:09:58 +02:00
Johannes Kirschbauer
ac95878ead
Inventory: init: deployment info for machines
2024-07-17 10:07:57 +02:00
clan-bot
2947f64f3a
Merge pull request 'clan-app: Add automatic debug console in debug mode' ( #1770 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 19:04:40 +00:00
Qubasa
dfb1f18e2d
clan-app: Add automatic debug console in debug mode
2024-07-16 21:01:35 +02:00
clan-bot
7e97141687
Merge pull request 'clan-app: Add threaded api execution by default' ( #1769 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 18:48:06 +00:00
Qubasa
bfe952d910
clan-app: Add threaded api execution by default
2024-07-16 20:44:48 +02:00
clan-bot
fa4e083352
Merge pull request 'clan-app: WebExecutor now mirrors jsonschema api types generically' ( #1768 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 14:38:17 +00:00
Qubasa
ccece77680
clan-app: WebExecutor now mirrors jsonschema api types generically
2024-07-16 16:34:59 +02:00
clan-bot
be4f90eca1
Merge pull request 'cli: add programms to allowed list' ( #1765 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-16 11:52:56 +00:00
Johannes Kirschbauer
54dcbfae01
cli: add programms to allowed list
2024-07-16 13:49:16 +02:00
clan-bot
14bb11d702
Merge pull request 'vars: add test for multiple machines' ( #1763 ) from DavHau/clan-core:DavHau-vars into main
2024-07-16 11:38:31 +00:00
DavHau
d700f651b4
vars: add test for multiple machines
2024-07-16 18:35:13 +07:00
clan-bot
91c2ad8974
Merge pull request 'clan-app: Improve method_name argument' ( #1764 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-16 10:24:04 +00:00
Qubasa
c115e9b0db
clan-app: Improve method_name argument
2024-07-16 12:16:52 +02:00
clan-bot
8a092cfed4
Merge pull request 'API: async signal integration migration' ( #1762 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-16 09:37:25 +00:00
Johannes Kirschbauer
cc238ecc60
API: async signal integration migration
2024-07-16 11:28:20 +02:00
clan-bot
08cd44ea03
Merge pull request 'Inventory: add global imports' ( #1749 ) from inventory-config into main
2024-07-16 08:45:00 +00:00
Johannes Kirschbauer
a2c3c09564
Inventory: migrate failure test message
2024-07-16 10:33:24 +02:00
clan-bot
645bd98c3a
Merge pull request 'clan-cli: deprecate nix_shell() in favor of run_cmd()' ( #1760 ) from DavHau/clan-core:DavHau-vars into main
2024-07-16 07:06:34 +00:00
DavHau
37e6ca7a30
clan-cli: deprecate nix_shell() in favor of run_cmd()
2024-07-16 14:03:17 +07:00
clan-bot
c9de01b9d0
Merge pull request 'impure-checks: improve performance by disabling dynamic deps' ( #1736 ) from DavHau/clan-core:DavHau-vars into main
2024-07-16 05:46:07 +00:00
DavHau
0e335f7ecc
impure-checks: improve performance by disabling dynamic deps
2024-07-16 12:42:45 +07:00
clan-bot
495a7a4289
Merge pull request 'Webview: migrate create clan form to async api' ( #1757 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-15 18:44:32 +00:00
Jörg Thalheim
5c0b482431
wip: debug
2024-07-15 20:41:27 +02:00
Jörg Thalheim
7c83c89643
inventory: better error message if tags are not found
2024-07-15 20:41:27 +02:00
Jörg Thalheim
2eeab7f556
inventory: don't check if tag is used in inventory
...
this doesn't work with flake-parts
2024-07-15 20:41:27 +02:00
Jörg Thalheim
f8a7f0ecb1
vars: remove deprecated nixos options
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
7b18caca9b
Inventory: fix tests
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
9afed2295d
Inventory: add global imports
2024-07-15 20:41:27 +02:00
Johannes Kirschbauer
ce387482bb
Webview: flash view
2024-07-15 20:40:29 +02:00
Johannes Kirschbauer
e4b11a6dc1
Webview: migrate create clan form to async api
2024-07-15 20:40:29 +02:00
clan-bot
c80e2538c4
Merge pull request 'Webview: add solid-query for improved resource fetching & caching' ( #1755 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-15 17:53:54 +00:00
clan-bot
4afad03fe9
Merge pull request 'clan-app: Remove vm-manager from codebase' ( #1754 ) from Qubasa/clan-core:Qubasa-fix_clan_app into main
2024-07-15 17:52:14 +00:00
Qubasa
cd48b8df0c
clan-app: Fix mypy lints and add GenericFnRuntime
2024-07-15 19:48:20 +02:00
Johannes Kirschbauer
729e893820
Webview: add solid-query for improved resource fetching & caching
2024-07-15 19:41:01 +02:00
Qubasa
25fea331d0
clan-app: Add Webview to python async backend
2024-07-15 19:24:38 +02:00
Qubasa
bb9058f5ef
clan-app: Remove vm-manager from codebase
2024-07-15 19:24:38 +02:00
clan-bot
aa286e4e63
Merge pull request 'Inventory: only apply if settings.json exists' ( #1753 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-15 17:18:20 +00:00
Johannes Kirschbauer
914d50a1c5
Inventory: only apply if settings.json exists
2024-07-15 19:14:45 +02:00
clan-bot
a76221da33
Merge pull request 'flake-parts: expose inventory' ( #1752 ) from flake-parts into main
2024-07-15 15:21:15 +00:00
Jörg Thalheim
fabea318d9
flake-parts: expose inventory
2024-07-15 17:17:14 +02:00
Mic92
094631350d
Merge pull request 'flake-parts-template' ( #1751 ) from flake-parts-template into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1751
2024-07-15 15:02:36 +00:00
Jörg Thalheim
beded7c21f
add flake-parts template
2024-07-15 15:02:36 +00:00
clan-bot
3e3b9fbbb8
Merge pull request 'switch to nixfmt from nixpkgs-fmt' ( #1750 ) from Mic92-flake-parts-template into main
2024-07-15 14:52:42 +00:00
Jörg Thalheim
a54dc76af1
switch to nixfmt from nixpkgs-fmt
2024-07-15 16:47:54 +02:00
clan-bot
ec38945c6d
Merge pull request 'templates/new-clan: share disko configuration between machines' ( #1748 ) from flake-parts-template into main
2024-07-15 14:43:28 +00:00
Jörg Thalheim
44330ddcff
templates/new-clan: share disko configuration between machines
2024-07-15 16:39:23 +02:00
clan-bot
c0d0b01324
Merge pull request 'templates/new-clan: share disko configuration between machines' ( #1747 ) from flake-parts-template into main
2024-07-15 14:21:52 +00:00
Jörg Thalheim
e8119880f3
templates/new-clan: share disko configuration between machines
2024-07-15 16:17:05 +02:00
Mic92
8bafa7e43d
Merge pull request 'inventory-config' ( #1746 ) from inventory-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1746
2024-07-15 14:16:39 +00:00
Johannes Kirschbauer
5a4a7e6694
Inventory: fix roles config
2024-07-15 15:59:59 +02:00
Jörg Thalheim
7e3881d618
inventory: allow per role configuration
2024-07-15 13:43:43 +02:00
Jörg Thalheim
0aac83b8c5
webview: restrict what links can be browsed
2024-07-15 12:54:49 +02:00
Jörg Thalheim
0bb5000f2a
docs/clan-app: add missing npm install
2024-07-15 12:52:28 +02:00
clan-bot
82ec1f8d10
Merge pull request 'docs: fix flash example' ( #1745 ) from joerg-ci into main
2024-07-15 09:57:10 +00:00
Jörg Thalheim
d4b0f3bed4
docs: fix flash example
2024-07-15 11:53:25 +02:00
Luis Hebendanz
f863be3412
Merge pull request 'docs: move blog to end of navigation' ( #1744 ) from fricklerhandwerk/clan-core:move-blog-nav into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1744
2024-07-15 09:17:55 +00:00
Valentin Gagarin
11bb60fc80
docs: move blog to end of navigation
...
documentation users will be here primarily because of onboarding tutorials and
reference documentation.
2024-07-15 11:03:14 +02:00
clan-bot
a97960cb41
Merge pull request 'Automatic flake update - 2024-07-15T00:00+00:00' ( #1742 ) from flake-update-2024-07-15 into main
2024-07-15 00:07:45 +00:00
Clan Merge Bot
191f435539
update flake lock - 2024-07-15T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/64679cd7f318c9b6595902b47d4585b1d51d5f9e' (2024-07-04)
→ 'github:nix-community/disko/786965e1b1ed3fd2018d78399984f461e2a44689' (2024-07-11)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/f8650460d37d9d1820a93ebb7f0db5b6c3621946' (2024-07-04)
→ 'github:nix-community/nixos-images/5eddae0afbcfd4283af5d6676d08ad059ca04b70' (2024-07-11)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/60a94e515488e335bd5bce096431d490486915e3' (2024-07-07)
→ 'github:NixOS/nixpkgs/0af9d835c27984b3265145f8e3cbc6c153479196' (2024-07-14)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea' (2024-07-07)
→ 'github:Mic92/sops-nix/0703ba03fd9c1665f8ab68cc3487302475164617' (2024-07-14)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/6fc8bded78715cdd43a3278a14ded226eb3a239e' (2024-07-08)
→ 'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14' (2024-07-14)
2024-07-15 00:00:23 +00:00
clan-bot
898fa5579c
Merge pull request 'Doc: write inventory documentation' ( #1741 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-14 14:46:12 +00:00
Johannes Kirschbauer
f2320e907f
Doc: write inventory documentation
2024-07-14 16:42:27 +02:00
clan-bot
a1c74c4a10
Merge pull request 'Json-schema: extend interface by header to allow schema spec and arbitrary extensions' ( #1740 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-14 13:06:08 +00:00
Johannes Kirschbauer
ad321976ff
Fix schema test
2024-07-14 15:02:32 +02:00
Johannes Kirschbauer
7bbe63a525
Fix schema test
2024-07-14 13:38:43 +02:00
Johannes Kirschbauer
6d1af2f6b3
Inventory: fix narrow pattern
2024-07-14 13:34:50 +02:00
Johannes Kirschbauer
425590ae12
Remove unneeded special args
2024-07-14 13:31:58 +02:00
Johannes Kirschbauer
e54101165f
Inventory: generate exact schema for validation & documentation
2024-07-14 13:30:02 +02:00
Johannes Kirschbauer
3034b9ef92
Json-schema: extend interface by header to allow schema spec and arbitrary extensions
2024-07-14 13:29:19 +02:00
clan-bot
b01d12dd26
Merge pull request 'clan-cli: Fix missing allowed-programs.json in package' ( #1739 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-14 11:12:27 +00:00
Qubasa
bdbf8a8da0
clan-cli: Fix missing allowed-programs.json in package
2024-07-14 13:07:24 +02:00
clan-bot
2a4a3f42cd
Merge pull request 'sshd: remove cve workaround again' ( #1738 ) from Mic92-debug-facts into main
2024-07-13 06:24:08 +00:00
Jörg Thalheim
01343788d7
sshd: remove cve workaround again
2024-07-13 08:19:09 +02:00
clan-bot
0bbab94841
Merge pull request 'Webview: add clanList edit' ( #1737 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-11 16:49:04 +00:00
Johannes Kirschbauer
ba8a9c7565
Webview: add clanList edit
2024-07-11 18:45:35 +02:00
clan-bot
3736f492d3
Merge pull request 'Clan create: migrate to inventory' ( #1732 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-11 15:09:24 +00:00
Johannes Kirschbauer
b324e1a4f4
Fix some type issues
2024-07-11 17:05:57 +02:00
Johannes Kirschbauer
af4e843131
Webview: add welcome workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
ac413a4d13
Webview: Add async method handling
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
1e4a761c53
Clan create: add template url field
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
060f020d83
Webview: add feeback for clan create workflow
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
8077053100
Webview: improve error debug abilities
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
d2e94b8188
API: improve json serialization
2024-07-11 16:39:06 +02:00
Johannes Kirschbauer
dfec6afd6b
Clan create: migrate to inventory
2024-07-11 16:39:06 +02:00
clan-bot
1a125cc9e7
Merge pull request 'vars: implement sops.defaultGroups' ( #1735 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 11:43:13 +00:00
DavHau
9988fb744c
vars: implement sops.defaultGroups
2024-07-11 18:39:29 +07:00
clan-bot
7055b352d4
Merge pull request 'clan-cli: improve runtime dependency management' ( #1733 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 08:38:27 +00:00
DavHau
75b969b1ad
clan-cli: improve runtime dependency management
...
Many dependencies of clan-cli are currently dynamically loaded via nix-shell on each execution.
This is nice, as it reduces the initial closure size of clan, but the overhead introduced by nix-shell piles up quickly, as some commands shell out many times during their lifetime. For example, when adding a secret git is called 10+ times.
This reduces the time of a test which adds a secret from around 50 seconds to 15 seconds.
- add run_cmd() as an alternative to nix_shell()
- introduce the concept of static dependencies which do not need to go through nix-shell
- static dependencies are defined at build time and included into the wrapper for clan-cli
- add package: clan-cli-full which statically ships all required dependencies
TODO: deprecate nix_shell() in favor of run_cmd()
2024-07-11 15:34:41 +07:00
clan-bot
5909d546fb
Merge pull request 'vars: implement secret generation' ( #1731 ) from DavHau/clan-core:DavHau-vars into main
2024-07-11 04:42:28 +00:00
DavHau
d21926db47
vars: implement secret generation
2024-07-11 11:37:17 +07:00
clan-bot
b066c3633a
Merge pull request 'clan-cli: simplify cli helper' ( #1726 ) from DavHau/clan-core:DavHau-dave into main
2024-07-10 11:18:48 +00:00
DavHau
e7908c2af5
clan-cli: simplify cli helper
2024-07-10 18:14:06 +07:00
clan-bot
8498b71f0f
Merge pull request 'UI: improve open clan from directory & list machines' ( #1728 ) from hsjobeki/clan-core:hsjobeki-feat/clan-init into main
2024-07-10 09:15:58 +00:00
Johannes Kirschbauer
4e9778f7d6
UI: improve open clan from directory & list machines
2024-07-10 11:08:03 +02:00
clan-bot
61765fb2d2
Merge pull request 'UI: init flash poc' ( #1727 ) from hsjobeki/clan-core:hsjobeki-feat/clan-init into main
2024-07-10 09:07:09 +00:00
Johannes Kirschbauer
10bae7dcb0
UI: init flash poc
2024-07-10 09:43:18 +02:00
clan-bot
0a98bd6cc7
Merge pull request 'clan-app: Add webview hot-reloading' ( #1724 ) from Qubasa/clan-core:Qubasa-main into main
2024-07-09 14:00:10 +00:00
Qubasa
d917144819
fixup! clan-app: Add webview hot-reloading
2024-07-09 15:55:22 +02:00
Qubasa
444be70796
clan-app: Add webview hot-reloading
2024-07-09 15:39:33 +02:00
clan-bot
668b4a0a9c
Merge pull request 'lib.readFact: fix argument order' ( #1723 ) from Mic92-debug-facts into main
2024-07-09 13:28:22 +00:00
Jörg Thalheim
6a2e24e7ff
lib.readFact: fix argument order
2024-07-09 15:23:26 +02:00
clan-bot
b76d5ce46b
Merge pull request 'lib.facts: assume clanDir instead of machines prefix' ( #1722 ) from Mic92-main into main
2024-07-09 13:09:49 +00:00
Jörg Thalheim
872a5fdc80
lib.facts: assume clanDir instead of machines prefix
2024-07-09 15:05:00 +02:00
clan-bot
338ea1217c
Merge pull request 'lib.readFact: change order of arguments' ( #1721 ) from Mic92-main into main
2024-07-09 12:59:48 +00:00
Jörg Thalheim
a24c183ec5
lib.readFact: change order of arguments
2024-07-09 14:44:35 +02:00
Jörg Thalheim
6c91cff672
better project root hint
2024-07-09 13:49:42 +02:00
clan-bot
bb78eff301
Merge pull request 'lib/facts: rename machineDir -> clanDir' ( #1720 ) from Mic92-main into main
2024-07-09 11:05:46 +00:00
Jörg Thalheim
9c8d993342
rename machineDir -> clanDir
2024-07-09 13:00:34 +02:00
clan-bot
455db8f37d
Merge pull request 'Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1712 ) from DavHau/clan-core:DavHau-dave into main
2024-07-09 09:52:52 +00:00
clan-bot
59e56ac949
Merge pull request 'improve error message for removed settings.json' ( #1719 ) from Mic92-main into main
2024-07-09 09:52:01 +00:00
Jörg Thalheim
00dbdaf071
improve error message for removed settings.json
2024-07-09 11:44:29 +02:00
Mic92
3e6c41593d
Merge branch 'main' into DavHau-dave
2024-07-09 09:33:11 +00:00
clan-bot
9fe0c07eb4
Merge pull request 'vars: init' ( #1718 ) from DavHau/clan-core:DavHau-vars into main
2024-07-09 07:31:31 +00:00
DavHau
3447a98bee
vars: implement generating public variables via in_repo
2024-07-09 14:26:56 +07:00
DavHau
26ff2beea9
clan-cli: add vars command
2024-07-09 12:42:29 +07:00
DavHau
9ff0045698
WIP: vars: copy python code from facts
2024-07-09 12:42:29 +07:00
clan-bot
d62f221309
Merge pull request 'Automatic flake update - 2024-07-08T00:00+00:00' ( #1715 ) from flake-update-2024-07-08 into main
2024-07-08 14:35:02 +00:00
Jörg Thalheim
e1b7805aef
fix new linter issues
2024-07-08 16:30:15 +02:00
Jörg Thalheim
83371fca47
quote .envrc
2024-07-08 16:25:16 +02:00
Jörg Thalheim
4f2f663b3b
reformat script-writers with nixfmt
2024-07-08 16:24:34 +02:00
Jörg Thalheim
f62c30f81d
fix shellcheck warnings
2024-07-08 16:24:34 +02:00
Jörg Thalheim
9e6d5124ad
add shellcheck hints to all envrc files
2024-07-08 16:24:34 +02:00
Jörg Thalheim
29616a8b5d
fix mkdocs-rss-plugin deps
2024-07-08 16:24:34 +02:00
Jörg Thalheim
b4a0f8484d
remove nixos-generators
2024-07-08 16:24:34 +02:00
Jörg Thalheim
d4917cd4ab
remove obsolete iso installer
...
This is now part of nixos-images
2024-07-08 16:24:34 +02:00
Jörg Thalheim
bd8515fa59
treefmt: upgrade nixfmt options
2024-07-08 16:24:34 +02:00
Jörg Thalheim
50a2b90d66
gnome.adwaita-icon-theme -> adwaita-icon-theme
2024-07-08 15:59:54 +02:00
Jörg Thalheim
487b7330ab
matrix-synapse: remove obsolete patches
2024-07-08 15:59:54 +02:00
Clan Merge Bot
a55bf3044d
update flake lock - 2024-07-08T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/e1174d991944a01eaaa04bc59c6281edca4c0e6e' (2024-06-20)
→ 'github:nix-community/disko/64679cd7f318c9b6595902b47d4585b1d51d5f9e' (2024-07-04)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01)
→ 'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7' (2024-07-03)
• Updated input 'nixos-generators':
'github:nix-community/nixos-generators/35c20ba421dfa5059e20e0ef2343c875372bdcf3' (2024-06-10)
→ 'github:nix-community/nixos-generators/168b220231a70e47cc1f0919048fa5914415fb18' (2024-07-04)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/c1e6a5f7b08f1c9993de1cfc5f15f838bf783b88' (2024-06-20)
→ 'github:nix-community/nixos-images/f8650460d37d9d1820a93ebb7f0db5b6c3621946' (2024-07-04)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3664857c48feacb35770c00abfdc671e55849be5' (2024-06-27)
→ 'github:NixOS/nixpkgs/60a94e515488e335bd5bce096431d490486915e3' (2024-07-07)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/5e2e9421e9ed2b918be0a441c4535cfa45e04811' (2024-06-23)
→ 'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea' (2024-07-07)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
→ 'github:numtide/treefmt-nix/e1d7bd5ec6fc389eb3a90e232c4150338bf6a508' (2024-07-07)
2024-07-08 15:59:54 +02:00
kenji
7ad5b63cb6
Merge pull request 'zerotier-static-peers: add external devices' ( #1698 ) from kenji/clan-core:zerotier-static/add-external into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1698
2024-07-08 07:40:09 +00:00
a-kenji
8e3a265ce9
zerotier-static-peers: add external devices
...
Allow the `zerotier-auto-accept` service to add external devices through
their respective `zerotierID`, or their `zerotierIP` in a stateless way.
This is useful to either add mobile phones, that can't be managed
through clan yet, or to add devices of other peoples clans, to connect
them together.
2024-07-08 07:40:09 +00:00
clan-bot
770a2c3e1e
Merge pull request 'API: extensions & tests' ( #1699 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-06 16:01:27 +00:00
Johannes Kirschbauer
04ef8d824e
Inventory spec: make system optional
2024-07-06 17:56:22 +02:00
Johannes Kirschbauer
2ebc0902c1
Test: fixup
2024-07-06 17:51:46 +02:00
Johannes Kirschbauer
a7b7cc888b
Test: ensure type inference runs on all dataclasses
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
cb13ddb464
API Types: treat '_*' as private fields and dont inspect them
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
d8ff8b042f
Doc: add conceptual documentation
2024-07-06 17:22:47 +02:00
Johannes Kirschbauer
9eb00df6b7
buildClan: autoimport configuration.nix & hardware-configuration.nix
2024-07-06 17:22:47 +02:00
DavHau
4cde2d96be
Reapply "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit 9778444706 .
workaround upstream bug: https://github.com/NixOS/nixpkgs/issues/324802
2024-07-05 19:29:01 +07:00
Mic92
fb38516a86
Merge pull request 'Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"' ( #1710 ) from revert-broken-migration into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1710
2024-07-05 09:48:24 +00:00
clan-bot
e5c692f0cf
Merge pull request 'clan-cli tests: remove dynamic inclusion of helpers module' ( #1711 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 09:43:19 +00:00
DavHau
0367fc1e90
clan-cli tests: remove dynamic inclusion of helpers module
...
Dynamically extending the python path at runtime is bad for developer experience, as this is not understood by the text editor and therefore jump to definition etc. does not work.
-> Better to remove the dynamic inclusion and force developers to specify the import correctly.
2024-07-05 16:38:22 +07:00
Jörg Thalheim
9778444706
Revert "clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}"
...
This reverts commit afbd4a984d .
The old configuration cannot be updated like this:
eve] error:
[eve] … while calling the 'head' builtin
[eve] at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/attrsets.nix:1575:11:
[eve] 1574| || pred here (elemAt values 1) (head values) then
[eve] 1575| head values
[eve] | ^
[eve] 1576| else
[eve]
[eve] … while evaluating the attribute 'value'
[eve] at /nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/lib/modules.nix:809:9:
[eve] 808| in warnDeprecation opt //
[eve] 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
[eve] | ^
[eve] 810| inherit (res.defsFinal') highestPrio;
[eve]
[eve] … while evaluating the option `system.build.toplevel':
[eve]
[eve] … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/activation/top-level.nix':
[eve]
[eve] … while evaluating the option `assertions':
[eve]
[eve] … while evaluating definitions from `/nix/store/5b0hl2dnvr1sawqlkwmsnaiyqz00d34h-source/nixos/modules/system/boot/systemd.nix':
[eve]
[eve] … while evaluating the option `systemd.services':
[eve]
[eve] … while evaluating definitions from `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/zerotier':
[eve]
[eve] … while evaluating the option `clan.core.networking.zerotier.networkId':
[eve]
[eve] (stack trace truncated; use '--show-trace' to show the full, detailed trace)
[eve]
[eve] error: A definition for option `clan.core.networking.zerotier.networkId' is not of type `null or string'. Definition values:
[eve] - In `/nix/store/kpzcdgndym0qm1w490mjvk9c2qmz03h5-source/nixosModules/clanCore/networking.nix':
[eve] {
[eve] _type = "override";
[eve] content = "267efd4a15b69623";
[eve] priorit
2024-07-05 11:16:05 +02:00
clan-bot
4c6c5b86ad
Merge pull request 'fixtures_flakes.py: remove dead code' ( #1709 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 09:00:41 +00:00
DavHau
f37379908c
fixtures_flakes.py: remove dead code
2024-07-05 15:55:52 +07:00
clan-bot
8a4b96c9c9
Merge pull request 'devShells: make all shells inherit from default shell' ( #1708 ) from DavHau/clan-core:DavHau-dave into main
2024-07-05 08:06:19 +00:00
DavHau
802f047341
devShells: make all shells inherit from default shell
...
Currently, important tools from the default shell are lost as soon as select-shell is used to switch to another shell. select-shell itself, for example is missing, which makes it impossible to switch back to another shell.
2024-07-05 15:01:25 +07:00
clan-bot
a89b301425
Merge pull request 'clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}' ( #1706 ) from DavHau/clan-core:DavHau-rename-clanCore into main
2024-07-04 10:09:17 +00:00
DavHau
afbd4a984d
clan.core: rename clan.{deployment,networking} -> clan.core.{deployment,networking}
2024-07-04 17:05:37 +07:00
clan-bot
737cf9412c
Merge pull request 'vars: add generator.runtimeInputs' ( #1705 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:45:32 +00:00
DavHau
32f3b3a309
vars: add generator.runtimeInputs
2024-07-04 13:42:25 +07:00
clan-bot
d9c8079eae
Merge pull request 'reference docs: add missing description fields and enforce it from now on' ( #1704 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:38:15 +00:00
DavHau
208021ee1c
reference docs: add missing description fields and enforce it from now on
2024-07-04 13:34:55 +07:00
clan-bot
0a4abd0e46
Merge pull request 'vars: import by default & fix option rendering' ( #1690 ) from DavHau/clan-core:DavHau-dave into main
2024-07-04 06:15:50 +00:00
DavHau
85a9d82132
vars: import by default & fix option rendering
2024-07-04 13:12:29 +07:00
clan-bot
61adaf0bdd
Merge pull request 'facts: mention prompt_value in docs for generator.scripts' ( #1703 ) from DavHau/clan-core:DavHau-facts-docs into main
2024-07-04 06:03:34 +00:00
DavHau
a31e70b2ec
facts: mention prompt_value in docs for generator.scripts
2024-07-04 12:59:49 +07:00
clan-bot
3eb445cd0e
Merge pull request 'move FlakeId to flake id' ( #1701 ) from refactor-machine into main
2024-07-03 16:37:44 +00:00
Jörg Thalheim
d9c5f16e05
add assertion if FlakeId has wrong value
2024-07-03 18:28:55 +02:00
Jörg Thalheim
c44a99e304
don't catch all exceptions when generating facts
2024-07-03 18:28:55 +02:00
Jörg Thalheim
5b606c035f
move FlakeId to flake id
...
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
clan-bot
0c12157c61
Merge pull request 'matrix-bot: Add data directory to gitignore' ( #1702 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-03 15:37:33 +00:00
Qubasa
0ee79a5fab
matrix-bot: Move it to clan-infra
2024-07-03 17:33:42 +02:00
Qubasa
093da22577
matrix-bot: Add data directory to gitignore
2024-07-03 17:33:42 +02:00
clan-bot
fa41f94ae7
Merge pull request 'matrix-bot: Fix incorrect caching of already pinged maintainers' ( #1700 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-03 12:27:02 +00:00
Qubasa
c33b3b4807
matrix-bot: Fix incorrect caching of already pinged maintainers
2024-07-03 14:23:43 +02:00
clan-bot
044cf3923e
Merge pull request 'refactor-machine' ( #1691 ) from refactor-machine into main
2024-07-03 10:48:09 +00:00
clan-bot
7050dcc37f
Merge pull request 'clanModules: init packages' ( #1697 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-03 10:35:03 +00:00
Jörg Thalheim
b4698528ef
make machine class now a dataclass
2024-07-03 12:34:43 +02:00
Johannes Kirschbauer
dc583ece4f
clanModules: init packages
2024-07-03 12:31:53 +02:00
clan-bot
1dd4db0034
Merge pull request 'Init single disk' ( #1694 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-03 10:00:28 +00:00
Johannes Kirschbauer
fc31d1aae7
Fix frontmatter of module
2024-07-03 11:57:15 +02:00
Johannes Kirschbauer
186784d0fd
clanModules: init single disk
2024-07-03 11:05:00 +02:00
clan-bot
be4628d235
Merge pull request 'matrix-bot: Init git commit summarizer' ( #1693 ) from Qubasa/clan-core:Qubasa-matrix-bot into main
2024-07-02 17:54:05 +00:00
Qubasa
53c4195932
matrix-bot: Working timer
...
matrix-bot: Working timer 2
matrix-bot: nix fmt
2024-07-02 19:49:41 +02:00
Qubasa
f6e77f3c1b
matrix-bot: Working openai integration
2024-07-02 19:47:38 +02:00
Qubasa
7a888fbbae
matrix-bot: Working private room join and better message
2024-07-02 19:47:38 +02:00
Qubasa
c26b7e0a0a
matrix-bot: Init working sending and receiving
...
matrix-bot: Code cleanup
matrix-bot: Code cleanup#
matrix-bot: Code cleanup#
matrix-bot: Ping on review neede
Add .gitignore
Working user ping
2024-07-02 19:47:36 +02:00
Qubasa
ef9b733631
matrix-bot: Add argparse
...
add mautrix
2024-07-02 19:47:21 +02:00
Qubasa
881196188c
matrix-bot: Init git commit summarizer
2024-07-02 19:43:42 +02:00
clan-bot
a666a6b126
Merge pull request 'API: tests for module instance update' ( #1692 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 14:12:28 +00:00
Johannes Kirschbauer
d6493ed64d
API: tests for module instance update
2024-07-02 16:09:13 +02:00
kenji
129db95426
Merge pull request 'add: lib/facts.nix' ( #1681 ) from kenji/clan-core:feature/clanLib into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1681
2024-07-02 11:34:26 +00:00
a-kenji
1a969d884e
lib: add fact loaders to clan lib
2024-07-02 11:34:26 +00:00
Ingolf Wagner
f228239834
add lib/facts.nix
2024-07-02 11:34:26 +00:00
kenji
6e15140583
Merge pull request 'zerotier-static/halalify-all' ( #1689 ) from kenji/clan-core:zerotier-static/halalify-all into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1689
2024-07-02 11:18:11 +00:00
a-kenji
975d4487bf
zerotier-static: halalify all packages
2024-07-02 13:14:26 +02:00
Jörg Thalheim
cc583dd79e
simplify clan uri further
2024-07-02 12:52:10 +02:00
clan-bot
6b70792cae
Merge pull request 'remove unused multi machine clan urls' ( #1687 ) from Mic92-main into main
2024-07-02 10:26:14 +00:00
kenji
5467f0256a
Merge pull request 'zerotier-peers: use halalified package' ( #1686 ) from kenji/clan-core:zerotier-static/halalify into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1686
2024-07-02 10:24:07 +00:00
a-kenji
88cd52fd0f
zerotier-peers: use halalified package
2024-07-02 10:24:07 +00:00
Jörg Thalheim
e637394370
remove unused multi machine clan urls
2024-07-02 12:20:30 +02:00
clan-bot
c4bbdb2212
Merge pull request 'API: add performance constraints' ( #1685 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 10:18:54 +00:00
Johannes Kirschbauer
d93deacb4b
API: remove performance constraints
2024-07-02 12:15:37 +02:00
Johannes Kirschbauer
16c9aa99a9
API: add performance constraints
2024-07-02 12:07:45 +02:00
clan-bot
1448e593e9
Merge pull request 'machines/machines: drop unused qmp wrapper' ( #1683 ) from Mic92-main into main
2024-07-02 10:01:43 +00:00
Jörg Thalheim
815bb336be
remove unused MachineParams
2024-07-02 11:57:39 +02:00
clan-bot
4bdcc4dd5e
Merge pull request 'api: clan Modules add readme content' ( #1684 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 09:49:23 +00:00
Johannes Kirschbauer
5ab22d043d
api: clan Modules add readme content
2024-07-02 11:45:48 +02:00
Jörg Thalheim
47010f458c
machines/machines: drop unused qmp wrapper
2024-07-02 11:42:02 +02:00
clan-bot
58b9e5e66e
Merge pull request 'vars: add generators.<name>.finalScript' ( #1682 ) from DavHau/clan-core:DavHau-dave into main
2024-07-02 09:41:22 +00:00
DavHau
a7d1ea455b
vars: add generators.<name>.finalScript
2024-07-02 16:37:31 +07:00
clan-bot
f37d0c746d
Merge pull request 'API: migrate add machine to inventory' ( #1676 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-02 09:25:01 +00:00
Johannes Kirschbauer
1b7369cf0d
Fix test
2024-07-02 11:21:52 +02:00
Johannes Kirschbauer
f7c80834cb
Inventory persistence improves error resistance
2024-07-02 11:16:54 +02:00
Johannes Kirschbauer
9f484c1d39
API: migrate machines delete and list to inventory
2024-07-02 11:07:11 +02:00
kenji
b73b8fef77
Merge pull request 'clan: implement OSC8 hyperlinks for help output' ( #1680 ) from kenji/clan-core:clan/hyperlink into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1680
2024-07-02 08:55:01 +00:00
a-kenji
d9ba61c30a
clan: implement OSC8 hyperlinks for help output
...
The name of the terminal help output stays the same to keep
compatibility with legacy terminal implementations.
2024-07-02 08:55:01 +00:00
clan-bot
33ea53ee8f
Merge pull request 'drop duplicate empty template' ( #1678 ) from Mic92-main into main
2024-07-02 08:47:59 +00:00
clan-bot
7c3e7dab60
Merge pull request 'secrets: add settings, generator submodules, improve tests' ( #1679 ) from DavHau/clan-core:DavHau-dave into main
2024-07-02 08:42:12 +00:00
Jörg Thalheim
d27e474b66
drop duplicate empty template
2024-07-02 10:41:55 +02:00
DavHau
d3f31acc5c
secrets: add settings, generator submodules, improve tests
2024-07-02 15:38:46 +07:00
clan-bot
1172acdc04
Merge pull request 'Davhau Dave' ( #1677 ) from DavHau/clan-core:DavHau-dave into main
2024-07-02 06:58:28 +00:00
DavHau
3a0f591c8c
vars: simplify eval tests by using submodule directly
2024-07-02 13:55:00 +07:00
Johannes Kirschbauer
df934334a2
API: migrate add machine to inventory
2024-07-01 21:55:42 +02:00
clan-bot
d8380ebb98
Merge pull request 'Inventory: add system and sample machine' ( #1675 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-07-01 19:42:14 +00:00
Johannes Kirschbauer
41f46848b9
Inventory: add missing settings to build the test machine
2024-07-01 21:38:50 +02:00
Johannes Kirschbauer
c678608105
Inventory: add system and sample machine
2024-07-01 21:25:02 +02:00
clan-bot
e7ba8dbe15
Merge pull request 'sshd: workaround for CVE-2024-6387' ( #1674 ) from openssh-cve-workaround into main
2024-07-01 12:04:54 +00:00
Jörg Thalheim
cfc09ca270
sshd: workaround for CVE-2024-6387
2024-07-01 14:01:40 +02:00
clan-bot
0f95bfd279
Merge pull request 'fix secret generation on macos' ( #1669 ) from fix-macos-deploy into main
2024-06-30 06:25:39 +00:00
clan-bot
b5a04debf5
Merge pull request 'Various cleanups' ( #1670 ) from Mic92-main into main
2024-06-30 06:24:51 +00:00
Jörg Thalheim
498f2c02be
formatter/vale: exclude lib
...
Fixes ci
2024-06-30 08:19:55 +02:00
Jörg Thalheim
92669a0d59
nixos-generators: drop nixlib copy
2024-06-30 08:13:24 +02:00
Jörg Thalheim
0ead3b477f
buildClan: improve deprecation error message of clanName
...
Printing the clanName in my case was actually more confusing then
helpful. Also mention what function needs to be updated.
2024-06-30 08:08:22 +02:00
Luis Hebendanz
05380828c6
Merge pull request 'add Vale for prose linting' ( #1370 ) from fricklerhandwerk/clan-core:add-vale into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1370
2024-06-29 09:08:49 +00:00
Valentin Gagarin
fca586ff21
fix spelling in README
2024-06-29 09:08:49 +00:00
Valentin Gagarin
d40563ea9f
add Vale for prose linting
2024-06-29 09:08:49 +00:00
Jörg Thalheim
2e2358d850
introduce minifakeroot that also works on macos
2024-06-27 18:53:10 +02:00
Jörg Thalheim
bae0a888c9
make bubblewrap in fact generation optional
2024-06-27 18:23:05 +02:00
clan-bot
8f0e537d34
Merge pull request 'vars: init' ( #1668 ) from DavHau/clan-core:DavHau-dave into main
2024-06-27 14:13:38 +00:00
DavHau
5668bc561d
vars: init
...
- init eval tests
- init basic interface
2024-06-27 21:09:55 +07:00
clan-bot
d4f2f7944c
Merge pull request 'update nixpkgs for new nix-unit' ( #1667 ) from DavHau/clan-core:DavHau-dave into main
2024-06-27 12:13:34 +00:00
DavHau
60076ef492
update nixpkgs for new nix-unit
2024-06-27 19:09:58 +07:00
clan-bot
bc0e727bd7
Merge pull request 'api: add endpoint machine_schema' ( #1666 ) from DavHau/clan-core:DavHau-dave into main
2024-06-27 10:02:11 +00:00
DavHau
ea87166e44
api: add endpoint machine_schema
2024-06-27 16:58:37 +07:00
clan-bot
27b0d18f0d
Merge pull request 'Add toml frontmatter description to jsonschema' ( #1664 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-26 15:22:48 +00:00
Johannes Kirschbauer
1628fdeaee
Inventory: add eval tests
2024-06-26 17:19:19 +02:00
Johannes Kirschbauer
2535fdcb12
Inventory: restructure folders
2024-06-26 15:19:40 +02:00
Johannes Kirschbauer
3777a4cf02
Add toml frontmatter description to jsonschema
2024-06-26 15:10:36 +02:00
clan-bot
cecd6011d6
Merge pull request 'flake.lock: update nixpkgs' ( #1663 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-26 09:49:40 +00:00
Johannes Kirschbauer
3e001a2809
flake.lock: update nixpkgs
2024-06-26 11:45:40 +02:00
kenji
1a8abaa2ac
Merge pull request 'clan: state add information about the backup command hooks to the help' ( #1661 ) from kenji/clan-core:clan/improve-description into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1661
2024-06-26 08:46:02 +00:00
a-kenji
fa37d528b3
clan: state add information about the backup command hooks to the help
2024-06-26 08:46:02 +00:00
clan-bot
09f7cd7e12
Merge pull request 'ClanModules: Add docs and api to retrieve metadata' ( #1662 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-25 19:43:22 +00:00
Johannes Kirschbauer
66d67b18d7
remove module description from json schema
2024-06-25 21:40:04 +02:00
Johannes Kirschbauer
fe21d2edb9
API: add clanModules list and details test
2024-06-25 21:31:44 +02:00
Johannes Kirschbauer
74dd48320e
ClanModules: Add docs and api to retrieve metadata
2024-06-25 21:17:42 +02:00
Johannes Kirschbauer
9b0e2a87e8
ClanModules: Add docs and api to retrieve metadata
2024-06-25 21:17:01 +02:00
clan-bot
4022c13b31
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
hsjobeki
25db02368a
Merge pull request 'Inventory: init first implementation' ( #1638 ) from hsjobeki/clan-core:wip/inventory into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1638
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
db951f1d9e
buildClan: bugfixing
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
d03422d004
test: increase timeout
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
4fb15d8733
Add machinesDirs with default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
c0293b889c
Add machinesDirs with default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
26c655ff3c
Add settings.json back
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
712ed3f738
Docs: add inventory module docs
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
e6c78054c4
Template: make inventory disabled by default
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
7f674e6f63
Remove useless settings.json
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
3aa7a6ee69
Inventory: move to lib.inventory
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
6378a96b4d
Template: use inventory
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
b74590f381
Inventory: simplify build-clan interface
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
2f8b782a1f
Inventory: init module merge & validation logic for inventory
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
c89080deb4
Extend build-clan interface
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
e44b07df66
inventory: rename clan.services
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
afca7ae0cc
update inventory implementation
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
3a9c56deb2
readme improvements
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
5f72778ade
schema improvements
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
d934b67c72
Inventory: implement borgbackup
2024-06-25 12:23:29 +00:00
Johannes Kirschbauer
241cca5b70
Docs: rename clanName to just name
2024-06-25 14:21:53 +02:00
clan-bot
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
Qubasa
62839b6fa0
clan-cli: Better env jailing in temporary_home
2024-06-25 12:03:44 +02:00
kenji
5ae8ccbbdd
Merge pull request 'clan: state list improve formatting' ( #1658 ) from kenji/clan-core:clan/state-list-improve into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1658
2024-06-25 09:56:29 +00:00
a-kenji
af2ffb7e5e
clan: state list improve formatting
2024-06-25 11:50:19 +02:00
kenji
d1f2679c45
Merge pull request 'cli: add command to list state' ( #1657 ) from kenji/clan-core:cli/state-list into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1657
2024-06-25 09:34:31 +00:00
a-kenji
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
kenji
4983c6d302
Merge pull request 'blog: fix typos in backup blog' ( #1656 ) from kenji/clan-core:blog-backups-fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1656
2024-06-25 09:02:52 +00:00
a-kenji
63e6aaf1fe
blog: fix typos in backup blog
2024-06-25 09:02:52 +00:00
kenji
b2332e796e
Merge pull request 'clan: ssh fix typos' ( #1655 ) from kenji/clan-core:fix-typo into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1655
2024-06-25 08:50:36 +00:00
a-kenji
cd8ec83881
clan: ssh fix typos
2024-06-25 10:32:05 +02:00
clan-bot
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
Qubasa
70ca824e88
clan-cli: Acutally test SecretStore for age and password-store.
2024-06-24 21:41:16 +02:00
clan-bot
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
Qubasa
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
clan-bot
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
Qubasa
eac869dde5
Fix run_vm test
...
nix fmt
2024-06-24 19:23:16 +02:00
Qubasa
88f97bd2b6
Fixed Contributing.md guide
2024-06-24 19:22:24 +02:00
Qubasa
fdd7ac7bbf
Add repro-hook to .gitignore
2024-06-24 19:22:24 +02:00
Qubasa
8038a9b488
clan-cli: Add validity check for ssh
...
stash
2024-06-24 19:22:19 +02:00
clan-bot
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
Johannes Kirschbauer
d7dc66da03
Json-schema tests: add schema specifier to test
2024-06-24 16:00:46 +02:00
Johannes Kirschbauer
51154c1d54
schema improvements: add additionalProperties: false to ensure closed types
2024-06-24 15:55:48 +02:00
Johannes Kirschbauer
13c3169b41
lib: eval clan module as lib function
2024-06-24 15:47:25 +02:00
clan-bot
fd62efc745
Merge pull request 'dev report: backup' ( #1651 ) from matrix into main
2024-06-24 13:08:51 +00:00
Jörg Thalheim
5575c5d214
first draft of the backup article
2024-06-24 15:05:37 +02:00
Johannes Kirschbauer
294c5548b9
Inventory: add concrete use-case examples
2024-06-24 14:35:41 +02:00
clan-bot
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
clan-bot
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
Jörg Thalheim
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
clan-bot
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
Qubasa
1ff58adcef
clan-cli: Add validity check for age key generation
2024-06-21 15:07:53 +02:00
clan-bot
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
Qubasa
8ee33950e6
clan-cli: Disable stack trace on KeyboardInterrupt
2024-06-21 13:11:33 +02:00
clan-bot
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
Jörg Thalheim
20b952b4cd
fix dropping non-existing database
2024-06-19 18:00:51 +02:00
Jörg Thalheim
aa5ccfb8bd
clanCore -> clan.core
2024-06-19 17:55:59 +02:00
Jörg Thalheim
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
Jörg Thalheim
117aed49e3
postgresql: don't prepend postgresql- for states
2024-06-19 17:38:31 +02:00
clan-bot
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
Johannes Kirschbauer
afdfa6181b
Inventory: add concrete use-case examples
2024-06-19 13:04:10 +02:00
clan-bot
6c11e0ced7
Merge pull request 'UI: display block devices' ( #1635 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-19 09:39:41 +00:00
Johannes Kirschbauer
399ce2e35c
UI: display block devices
2024-06-19 11:36:19 +02:00
clan-bot
e575c2e769
Merge pull request 'UI: display known network hosts' ( #1633 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-19 09:11:01 +00:00
Johannes Kirschbauer
56b2347a30
UI: display known network hosts
2024-06-19 11:07:45 +02:00
clan-bot
70954acf3d
Merge pull request 'Inventory: init draft ideas' ( #1632 ) from hsjobeki/clan-core:hsjobeki-inventory into main
2024-06-19 07:50:12 +00:00
Johannes Kirschbauer
13aa60529f
Inventory: init draft ideas
2024-06-19 09:47:13 +02:00
Johannes Kirschbauer
7474f01193
Inventory: init draft ideas
2024-06-19 09:40:23 +02:00
clan-bot
bd9883baaf
Merge pull request 'refactor: rename clanCore -> clan.core' ( #1629 ) from DavHau/clan-core:DavHau-rename-clanCore into main
2024-06-18 11:35:57 +00:00
DavHau
313db5643f
refactor: rename clanCore -> clan.core
2024-06-18 18:32:40 +07:00
clan-bot
93a6d7a476
Merge pull request 'update matrix address' ( #1631 ) from new-matrix-address into main
2024-06-17 13:32:07 +00:00
Jörg Thalheim
d221d90972
update matrix address
2024-06-17 15:26:23 +02:00
clan-bot
30fd5dcfb8
Merge pull request 'matrix-synapse: restart service on restore' ( #1630 ) from clan-name into main
2024-06-17 12:30:03 +00:00
Jörg Thalheim
c79680344d
fix restore if database does not exists
2024-06-17 14:21:45 +02:00
Jörg Thalheim
ad544a7d24
matrix-synapse: restart service on restore
2024-06-17 14:21:45 +02:00
clan-bot
1cd606b879
Merge pull request 'fix: remove IFD in nix flake show' ( #1628 ) from DavHau/clan-core:DavHau-dave into main
2024-06-17 08:09:39 +00:00
DavHau
39f74c0f52
fix: remove IFD in nix flake show
2024-06-17 15:06:25 +07:00
clan-bot
8feea28a19
Merge pull request 'API: init methods: hw_generate, dns discovery' ( #1626 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-16 14:32:42 +00:00
Johannes Kirschbauer
b73246bdfd
API: init methods: hw_generate, dns discovery
2024-06-16 16:29:18 +02:00
clan-bot
36a418b6ac
Merge pull request 'Docs: update machine hardware config instructions' ( #1625 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-15 20:30:50 +00:00
Johannes Kirschbauer
43e8804eb4
Docs: update machine hardware config instructions
2024-06-15 22:27:46 +02:00
clan-bot
8790e5a0eb
Merge pull request 'CLI: init hw-generate command' ( #1624 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-15 19:35:56 +00:00
Johannes Kirschbauer
5e39514251
CLI: init hw-generate command
2024-06-15 21:31:23 +02:00
clan-bot
b28950f310
Merge pull request 'API: init op_key, improve seralisation & signature typing' ( #1622 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-15 09:38:29 +00:00
Johannes Kirschbauer
3ebee252aa
Webview: init machine details
2024-06-15 11:35:15 +02:00
Johannes Kirschbauer
720fb4af63
Webview: minor improvements
2024-06-15 11:34:54 +02:00
Johannes Kirschbauer
af19950dfa
Webview: init global state for current clan path
2024-06-15 11:34:20 +02:00
Johannes Kirschbauer
149be249fa
Webview: init api event registry
2024-06-15 11:33:53 +02:00
Johannes Kirschbauer
0cf86806b2
API: mock echo op_key
2024-06-15 11:32:42 +02:00
Johannes Kirschbauer
cb847cab82
API: init op_key, improve seralisation & signature typing
2024-06-15 11:32:09 +02:00
clan-bot
a89fd31844
Merge pull request 'matrix-synapse: user creation fixes' ( #1620 ) from matrix into main
2024-06-14 09:36:41 +00:00
Jörg Thalheim
870948306d
postgres: handle restores without associated systemd service
2024-06-14 11:29:59 +02:00
Jörg Thalheim
ec49d1f844
container-driver: source nixos environment variables in test commands
2024-06-14 11:27:06 +02:00
Jörg Thalheim
e3d84a5daf
matrix-synapse: use upstream patch to create users declarativly
2024-06-14 11:27:06 +02:00
Jörg Thalheim
79b5ad0754
matrix-synapse: use registration_shared_secret_path instead
2024-06-14 11:18:09 +02:00
Jörg Thalheim
24b0d72d96
matrix-synapse: fix user check
2024-06-14 11:18:09 +02:00
Jörg Thalheim
084cd8751f
postgresql: move postRestoreCommand to a dedicated command
...
We need to call this command from the cli
2024-06-14 11:18:09 +02:00
kenji
3d77e0a3a9
Merge pull request 'fix: outside of direnv clan-li warns show-config deprecated' ( #1619 ) from samrose/clan-core:sam/show-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1619
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-06-14 08:10:29 +00:00
samrose
06bbae6d14
fix: trying run_no_stdout with original show-config
2024-06-13 18:44:50 -04:00
samrose
5f22493361
fix: formatting cli command correctly
2024-06-13 12:59:26 -04:00
samrose
56a4caf39b
fix: outside of direnv clan-li warns this is going to be deprecated
2024-06-13 12:44:48 -04:00
clan-bot
83056f743d
Merge pull request 'API: init icon resolve' ( #1616 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-12 11:24:45 +00:00
Johannes Kirschbauer
6743ff96a9
API: init icon resolve
2024-06-12 13:21:39 +02:00
clan-bot
1f3c4f4ac3
Merge pull request 'vm.nix: fix typo in comment' ( #1611 ) from DavHau/clan-core:DavHau-dave into main
2024-06-11 21:49:18 +00:00
DavHau
7766829fb1
vm.nix: fix typo in comment
2024-06-11 14:44:08 -07:00
clan-bot
175b219246
Merge pull request 'API: improve type & class construction' ( #1610 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-11 17:23:42 +00:00
Johannes Kirschbauer
48aee84547
Webview: add form handling for create clan
2024-06-11 19:20:40 +02:00
Johannes Kirschbauer
d587b326b5
API: improve type & class construction
2024-06-11 19:20:40 +02:00
clan-bot
ac099d9e6f
Merge pull request 'Webview/API: init open clan workflow' ( #1609 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-11 14:31:51 +00:00
Johannes Kirschbauer
913ab4627c
Webview: init 'open clan' workflow
2024-06-11 16:28:02 +02:00
clan-bot
be868ee107
Merge pull request 'matrix-synapse: add missing xkcdpass to password generator' ( #1608 ) from matrix into main
2024-06-11 13:44:08 +00:00
Jörg Thalheim
36b1bb65af
matrix-synapse: add missing xkcdpass to password generator
2024-06-11 15:40:58 +02:00
Mic92
4a752bb951
Merge pull request 'matrix-synapse: drop drop security.wrappers' ( #1607 ) from nixos-images-input into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1607
2024-06-11 13:32:58 +00:00
Jörg Thalheim
3dabb4e89a
matrix-synapse: drop drop security.wrappers
...
This was debug code and not meant for production.
2024-06-11 13:32:58 +00:00
clan-bot
e2474f4e66
Merge pull request 'matrix-synapse: don't require to set default users' ( #1606 ) from Mic92-nixos-images-input into main
2024-06-11 13:18:37 +00:00
clan-bot
f4ee0b0387
Merge pull request 'drop nixos-stable' ( #1605 ) from nixos-images-input into main
2024-06-11 13:13:48 +00:00
Jörg Thalheim
5df1f9f9d2
matrix-synapse: don't require to set default users
2024-06-11 15:12:41 +02:00
Jörg Thalheim
3368255473
drop nixos-stable
2024-06-11 15:03:57 +02:00
clan-bot
1cbb2d6aa4
Merge pull request 'matrix-synapse: add automatic user creation' ( #1603 ) from synapse into main
2024-06-11 11:22:32 +00:00
Jörg Thalheim
bc0e0088a0
matrix-synapse: add automatic user creation
2024-06-11 13:19:18 +02:00
clan-bot
a6a9f763db
Merge pull request 'api: refactor create flake into create clan' ( #1602 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-11 10:15:44 +00:00
Johannes Kirschbauer
8dcb009e5b
api: refactor create flake into create clan
2024-06-11 12:11:29 +02:00
kenji
9f0f44b470
Merge pull request 'borbackup: set IdentitiesOnly=Yes' ( #1601 ) from kenji/clan-core:identities into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1601
2024-06-10 14:09:14 +00:00
a-kenji
67aa84760d
borbackup: set IdentitiesOnly=Yes
...
Since `borgbackup` is run as root user it might try other ssh keys.
2024-06-10 14:09:14 +00:00
clan-bot
b05c937151
Merge pull request 'backups: extend tests to also check state.preBackupCommand' ( #1600 ) from synapse into main
2024-06-10 14:01:53 +00:00
Jörg Thalheim
3322bbd681
backups: extend tests to also check state.preBackupCommand
2024-06-10 15:57:41 +02:00
clan-bot
a1acf0b05d
Merge pull request 'Expand backup and restore capabilities w.r.t. postgresql.' ( #1582 ) from synapse into main
2024-06-10 13:24:08 +00:00
Jörg Thalheim
66bdc61e3d
borgbackup: move preBackupScript to a different systemd context
2024-06-10 15:17:46 +02:00
clan-bot
dd2bd2f989
Merge pull request 'test: extend minimal flake test with verification' ( #1599 ) from DavHau/clan-core:DavHau-dave into main
2024-06-10 05:24:17 +00:00
DavHau
6f18a5de92
test: extend minimal flake test with verification
2024-06-09 22:19:38 -07:00
clan-bot
1d542d4396
Merge pull request 'tests: add test for creating machine on minimal clan' ( #1596 ) from DavHau/clan-core:DavHau-dave into main
2024-06-10 04:58:02 +00:00
DavHau
07fb01d9db
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00
clan-bot
8a5d4a0f8f
Merge pull request 'Automatic flake update - 2024-06-10T00:00+00:00' ( #1598 ) from flake-update-2024-06-10 into main
2024-06-10 00:05:18 +00:00
Clan Merge Bot
48069f99cd
update flake lock - 2024-06-10T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/0274af4c92531ebfba4a5bd493251a143bc51f3c' (2024-05-31)
→ 'github:nix-community/disko/1bbdb06f14e2621290b250e631cf3d8948e4d19b' (2024-06-09)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/47bfb55316e105390dd761e0b6e8e0be09462b67' (2024-05-30)
→ 'github:nix-community/nixos-images/72771bd35f4e19e32d6f652528483b5e07fc317b' (2024-06-07)
• Removed input 'nixos-images/nixos-2311'
• Added input 'nixos-images/nixos-stable':
'github:NixOS/nixpkgs/0b8e7a1ae5a94da2e1ee3f3030a32020f6254105' (2024-06-05)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/6634a0509e9e81e980b129435fbbec518ab246d0' (2024-06-02)
→ 'github:NixOS/nixpkgs/7d916e720af6b2ca355e4d0cfb8e4f742c172239' (2024-06-09)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/ab2a43b0d21d1d37d4d5726a892f714eaeb4b075' (2024-06-02)
→ 'github:Mic92/sops-nix/f0922ad001829b400f0160ba85b47d252fa3d925' (2024-06-09)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706' (2024-06-01)
→ 'github:numtide/treefmt-nix/4fc1c45a5f50169f9f29f6a98a438fb910b834ed' (2024-06-08)
2024-06-10 00:00:22 +00:00
kenji
1eaf6cec39
Merge pull request 'gui-installer: fix maintainer name' ( #1597 ) from kenji/clan-core:fix-name into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1597
2024-06-09 12:49:14 +00:00
a-kenji
f0c9de9e50
gui-installer: fix maintainer name
2024-06-09 14:28:54 +02:00
clan-bot
ef42bcc525
Merge pull request 'templates: add minimal clan flake template for (G)UI' ( #1595 ) from DavHau/clan-core:DavHau-dave into main
2024-06-09 00:05:02 +00:00
DavHau
e7995ad344
templates: add minimal clan flake template for (G)UI
2024-06-08 17:00:18 -07:00
clan-bot
6e3c2506c9
Merge pull request 'Clan-cli/show: more detailed description' ( #1594 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 16:28:36 +00:00
Johannes Kirschbauer
5473e2733c
Clan-cli/show: more detailed description
2024-06-08 18:24:54 +02:00
clan-bot
006a7044f1
Merge pull request 'Webview: add solid-toast feeback system' ( #1593 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 16:17:59 +00:00
Johannes Kirschbauer
c647197b8c
Webview: add solid-toast feeback system
2024-06-08 18:14:15 +02:00
clan-bot
62735ebfe2
Merge pull request 'API: add show clan to retrieve the buildClan meta' ( #1592 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 16:11:43 +00:00
Johannes Kirschbauer
8ff00fd8fe
API: include show into docs
2024-06-08 18:07:41 +02:00
Johannes Kirschbauer
bd586575b3
API: add show clan to retrieve the buildClan meta
2024-06-08 17:53:17 +02:00
clan-bot
f14f7368d7
Merge pull request 'API: add abstract open_file method, implement open_file' ( #1591 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 15:09:35 +00:00
Johannes Kirschbauer
6adcd1fdf2
API: add abstract open_file method, implement open_file
2024-06-08 17:04:56 +02:00
clan-bot
6e99beb335
Merge pull request 'UI: add open clan button' ( #1590 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 13:28:18 +00:00
Johannes Kirschbauer
6689d45a4f
UI: add open clan button
2024-06-08 15:24:18 +02:00
clan-bot
6d82a5851b
Merge pull request 'api: list files' ( #1589 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-08 13:05:52 +00:00
Johannes Kirschbauer
337ba1f8f6
api: list files
2024-06-08 15:01:53 +02:00
kenji
bf7b148592
Merge pull request 'clan: fix backup provider completions' ( #1587 ) from kenji/clan-core:clan-complete-providers into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1587
2024-06-07 19:16:13 +00:00
a-kenji
a7f724a804
clan: fix backup provider completions
2024-06-07 19:16:13 +00:00
clan-bot
7c06b65def
Merge pull request 'gui-installer: calculate bugfix version from lastModifiedDate' ( #1588 ) from DavHau/clan-core:DavHau-dave into main
2024-06-07 18:39:28 +00:00
DavHau
7286c7250c
gui-installer: calculate bugfix version from lastModifiedDate
2024-06-07 11:35:25 -07:00
kenji
4e841d3087
Merge pull request 'clan: remove very obvious comments' ( #1586 ) from kenji/clan-core:clan/package/clean into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1586
2024-06-07 13:20:23 +00:00
a-kenji
2ce704dd40
clan: remove very obvious comments
...
Remove some very obvious comments as to not lose meaning of the
comments.
We want comments that convey non-obvious behavior so they will be
actually read.
2024-06-07 14:45:53 +02:00
kenji
6279610691
Merge pull request 'syncthing: automatically add zt network ip to devices' ( #1585 ) from kenji/clan-core:syncthing/add-ip into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1585
2024-06-07 12:33:09 +00:00
a-kenji
297d53dac8
syncthing: automatically add zt network ip to devices
2024-06-07 14:25:21 +02:00
kenji
6f1300f819
Merge pull request 'clan: install shell completions for zsh' ( #1584 ) from kenji/clan-core:enable-zsh-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1584
2024-06-07 07:57:40 +00:00
a-kenji
02a015a1b6
clan: install shell completions for zsh
2024-06-06 23:20:54 +02:00
Jörg Thalheim
5c11a30b46
backup: add a way to stop services before restoring a state.
2024-06-06 17:30:35 +02:00
Jörg Thalheim
0dc3b9f056
postgresql: add backup and restore
2024-06-06 14:28:50 +02:00
Jörg Thalheim
c0d8aaf73a
postgresql: add new method to create users and databases
2024-06-06 14:07:56 +02:00
Jörg Thalheim
2a0019457d
matrix-synapse: create with utf-8 encoding
2024-06-06 14:07:56 +02:00
Jörg Thalheim
6dec2a9222
add postgresql backup hooks
2024-06-06 13:27:30 +02:00
Jörg Thalheim
f71295e640
fix running cli without arguments
2024-06-06 13:27:30 +02:00
Jörg Thalheim
c1aedc5bb8
matrix-enable: drop enable option
2024-06-06 13:27:30 +02:00
Jörg Thalheim
d6a9f6d3f9
change clan url to gitea archive url
2024-06-06 11:11:48 +02:00
Jörg Thalheim
ba6840d978
matrix-synapse: create database with right collation also when postgresql already exists #1108
2024-06-06 11:11:48 +02:00
kenji
86b08258dd
Merge pull request 'syncthing-remove-newline' ( #1581 ) from kenji/clan-core:syncthing-remove-newline into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1581
2024-06-06 08:34:08 +00:00
a-kenji
9ccff4ab2e
syncthing: remove trailing newline
2024-06-06 08:34:08 +00:00
kenji
cf310be1c8
Merge pull request 'syncthing: update facts to new system' ( #1580 ) from kenji/clan-core:syncthing/update into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1580
2024-06-06 08:21:31 +00:00
a-kenji
d8e80bb0c8
syncthing: update facts to new system
2024-06-06 08:21:31 +00:00
kenji
9206182e15
Merge pull request 'modules/syncthing-static-peers: init' ( #1579 ) from kenji/clan-core:init/static-syncthing into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1579
2024-06-06 08:01:09 +00:00
a-kenji
d25eaa48d0
modules/syncthing-static-peers: init
2024-06-06 09:55:57 +02:00
kenji
5a2c91959a
Merge pull request 'borbackup-static: impl' ( #1577 ) from kenji/clan-core:modules/init/borbackup-static-impl into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1577
2024-06-05 21:17:24 +00:00
a-kenji
193d54153d
borbackup-static: impl
...
Implements sane defaults implementing borgbackup
Fixes : #1551
2024-06-05 21:17:24 +00:00
kenji
510634bc04
Merge pull request 'zerotier-static-peers: filter out non existing Ip' ( #1576 ) from kenji/clan-core:fix/static-zerotier into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1576
2024-06-05 17:52:59 +00:00
a-kenji
954f1fe605
zerotier-static-peers: filter out non existing Ip
2024-06-05 19:46:55 +02:00
kenji
764b53275f
Merge pull request 'static-hosts: filter out non existing Ip's' ( #1574 ) from kenji/clan-core:static-hosts-fix into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1574
2024-06-05 15:32:57 +00:00
a-kenji
44fc1be270
static-hosts: filter out non existing Ip's
2024-06-05 17:28:35 +02:00
clan-bot
5ef170020d
Merge pull request 'clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret' ( #1573 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-05 12:37:02 +00:00
Qubasa
5f7099fc89
clan-cli: Fix passwordstore clan facts generate requiring CTRL+D for every secret
2024-06-05 14:31:45 +02:00
clan-bot
fe08fef015
Merge pull request 'clan-cli: temporary_home, set XDG_RUNTIME_DIR' ( #1571 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-05 11:39:14 +00:00
kenji
edb744f654
Merge pull request 'clan: improve machine completions' ( #1572 ) from kenji/clan-core:clan/dynamic-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1572
2024-06-05 11:38:50 +00:00
Qubasa
5ff5b46896
clan-cli: temporary_home, set XDG_RUNTIME_DIR
2024-06-05 13:34:17 +02:00
a-kenji
49e67ac46c
clan: improve machine completions
...
In recent nix versions the `nix flake show` command busts the eval
cache, which made the function that used to be faster, slower.
On benchmarks the completion was around 180-200ms.
2024-06-05 13:32:23 +02:00
clan-bot
5024973896
Merge pull request 'Hsjobeki Main' ( #1570 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 10:14:53 +00:00
Johannes Kirschbauer
7dce6ad6c4
clan-app: switch default view to webui
2024-06-05 12:10:26 +02:00
clan-bot
779229a907
Merge pull request 'clan-app: rename clan-vm-manager' ( #1569 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 09:41:05 +00:00
kenji
af23ed027a
Merge pull request 'clan: fix backup description' ( #1567 ) from kenji/clan-core:clan/fix/backup-description into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1567
2024-06-05 09:40:01 +00:00
Johannes Kirschbauer
06412865bb
clan-app: rename clan-vm-manager
2024-06-05 11:36:02 +02:00
a-kenji
fab311b53a
clan: fix backup description
2024-06-05 11:35:04 +02:00
clan-bot
bc602dbf3c
Merge pull request 'clan-app: Rename clan-vm-manager to clan-app.' ( #1566 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 09:31:22 +00:00
Johannes Kirschbauer
0fb207bb59
clan-app: rename clan-vm-manager
2024-06-05 11:24:59 +02:00
kenji
c751bc78d8
Merge pull request 'clan: add dynamic completions to clan backups' ( #1565 ) from kenji/clan-core:clan/backups/dynamic-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1565
2024-06-05 09:23:02 +00:00
a-kenji
c9038ad0b3
clan: add dynamic completions to clan backups providers
2024-06-05 09:23:02 +00:00
a-kenji
b4699cd8a3
clan: add dynamic completion function for backup providers
2024-06-05 09:23:02 +00:00
clan-bot
d0a87d8e3c
Merge pull request 'web-ui: init type API checks' ( #1564 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 09:11:44 +00:00
Johannes Kirschbauer
78dbabf901
web-ui: init type API checks
2024-06-05 11:07:55 +02:00
clan-bot
ad771ae6a0
Merge pull request 'web-ui: remove type test method' ( #1563 ) from hsjobeki/clan-core:hsjobeki-main into main
2024-06-05 07:58:08 +00:00
Johannes Kirschbauer
92bc2962b8
web-ui: remove type test method
2024-06-05 09:54:17 +02:00
clan-bot
836754d7ad
Merge pull request 'hsjobeki-main' ( #1562 ) from hsjobeki-main into main
2024-06-05 07:52:38 +00:00
Johannes Kirschbauer
6576290160
clan-api: wrap all api responses with error/success envelop type
2024-06-05 09:46:48 +02:00
Johannes Kirschbauer
db88e63148
clan-cli: create flake refactor to create clan
2024-06-05 09:45:47 +02:00
Johannes Kirschbauer
f2d2102127
clan-cli: refactor CmdOut to serializable dataclass
2024-06-05 09:44:44 +02:00
Johannes Kirschbauer
b9bf453731
clan-api: add support for generic types & annotated types
2024-06-05 09:43:45 +02:00
clan-bot
fb98247a8d
Merge pull request 'demo.sh: fix tags' ( #1561 ) from DavHau/clan-core:DavHau-dave into main
2024-06-04 22:27:39 +00:00
DavHau
4bd927cbcf
demo.sh: fix tags
2024-06-04 15:23:39 -07:00
kenji
3725d5703e
Merge pull request 'documentation(backups): make exampe more robust' ( #1560 ) from kenji/clan-core:improve/backup-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1560
2024-06-04 15:17:29 +00:00
a-kenji
bf0cc19c8f
documentation(backups): make exampe more robust
2024-06-04 17:09:26 +02:00
kenji
8af137545f
Merge pull request 'borgbackup: fixes error when specifying multiple backup directories' ( #1559 ) from kenji/clan-core:improve/backup-docs into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1559
2024-06-04 14:54:39 +00:00
a-kenji
3d71ebcc5f
borgbackup: try to fix
2024-06-04 16:27:53 +02:00
kenji
c6fcb833b3
Merge pull request 'clan/improve/dynamic-completions-config' ( #1558 ) from kenji/clan-core:clan/improve/dynamic-completions-config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1558
2024-06-04 13:57:18 +00:00
a-kenji
c926f23c09
clan: add dynamic completions to clan vms inspect
2024-06-04 15:50:50 +02:00
a-kenji
21ac1f7204
clan: add dynamic completions to clan vms run
2024-06-04 15:48:12 +02:00
a-kenji
05ff7bd261
clan: add dynamic completions to clan config
2024-06-04 15:44:39 +02:00
kenji
b2109351ff
Merge pull request 'clan/improve/dynamic-completions' ( #1557 ) from kenji/clan-core:clan/improve/dynamic-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1557
2024-06-04 13:28:09 +00:00
a-kenji
0bd13727de
clan: add dynamic-completions to clan secrets set
2024-06-04 15:21:00 +02:00
a-kenji
e1d6d04b48
clan: add dynamic completions to clan secrets machines
2024-06-04 15:02:35 +02:00
a-kenji
9dbbb6f2f6
clan: add dynamic completions for clan secrets import-sops
2024-06-04 13:40:24 +02:00
kenji
836170e5b6
Merge pull request 'clan: add dynamic completions to clan secrets {users,groups} and add completion functions' ( #1556 ) from kenji/clan-core:add/completion/to-groups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1556
2024-06-04 11:35:42 +00:00
a-kenji
d4fabff7f4
clan: add dynamic completions for secret groups
2024-06-04 13:30:38 +02:00
a-kenji
b21bef0b98
clan: add dynamic completions for clan secrets users
2024-06-04 13:30:38 +02:00
a-kenji
533ed97fc1
clan: add dynamic completion for clan secret groups
2024-06-04 13:30:38 +02:00
a-kenji
e7e5a1ded8
clan: add completion function for clan users
2024-06-04 13:30:11 +02:00
a-kenji
4e95030e55
clan: clan secrets groups add machine completions
2024-06-04 13:30:11 +02:00
kenji
b331a8c730
Merge pull request 'clan: fix help message' ( #1553 ) from kenji/clan-core:add/completion/groups into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1553
2024-06-04 10:28:34 +00:00
a-kenji
2923051a12
clan: fix help message
2024-06-04 10:28:34 +00:00
kenji
fe96137c56
Merge pull request 'clan: add more machine completion functions to secrets' ( #1552 ) from kenji/clan-core:add/completion/secret-subcommands into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1552
2024-06-04 09:30:02 +00:00
a-kenji
addc4de735
clan: add more machine completion functions to secrets
2024-06-04 11:07:24 +02:00
clan-bot
2460ba9b67
Merge pull request 'demo.sh: fix tag' ( #1550 ) from DavHau/clan-core:DavHau-dave into main
2024-06-04 05:00:07 +00:00
DavHau
62be27ec62
demo.sh: fix tag
2024-06-03 21:55:09 -07:00
clan-bot
8515d41fe3
Merge pull request 'distro-packages: add test for deb installation' ( #1549 ) from DavHau/clan-core:DavHau-dave into main
2024-06-04 04:17:21 +00:00
DavHau
d4d69d6990
distro-packages: add test for deb installation
2024-06-04 06:09:58 +02:00
kenji
0027c46313
Merge pull request 'zerotier-static-peers: use correct exclusion source' ( #1548 ) from kenji/clan-core:modules/fix/static into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1548
2024-06-03 21:24:29 +00:00
a-kenji
ca2001040b
zerotier-static-peers: use correct exclusion source
2024-06-03 22:53:44 +02:00
kenji
d6725100ac
Merge pull request 'zerotier-static-peers: add guard condition' ( #1547 ) from kenji/clan-core:modules/add/zerotier-guard into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1547
2024-06-03 20:47:03 +00:00
a-kenji
503ce29c84
zerotier-static-peers: add guard condition
2024-06-03 22:42:04 +02:00
kenji
87444cd2b8
Merge pull request 'clan: add dyncamic completions for secrets' ( #1546 ) from kenji/clan-core:kenji-clan/secrets-dynamic/add-completion into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1546
2024-06-03 19:55:12 +00:00
a-kenji
31eca9e8bc
clan: add dyncamic completions for secrets
2024-06-03 21:47:14 +02:00
kenji
822afe08b5
Merge pull request 'clan: add dynamic machine completions to clan secrets subcommands' ( #1545 ) from clan/secrets/add-completions into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1545
2024-06-03 15:42:37 +00:00
a-kenji
cfb78b0edb
clan: add dynamic machine completions to clan secrets subcommands
2024-06-03 17:32:33 +02:00
kenji
65fd7d3efe
Merge pull request 'clan: add dynamic completion to clan machines show' ( #1544 ) from kenji-clan/machine-show/add-commpletion into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1544
2024-06-03 15:15:45 +00:00
a-kenji
e8241fb7c9
clan: add dynamic completion to clan machines show
2024-06-03 17:06:03 +02:00
kenji
259d51bdc8
Merge pull request 'clan.static-hosts: excludeHosts should be empty if topLevelDomain is defined.' ( #1538 ) from mrvandalo/clan-core:feature/static-hosts-exclude-nothing-when-tld-is-given into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1538
Reviewed-by: kenji <aks.kenji@protonmail.com >
2024-06-03 10:44:41 +00:00
Ingolf Wagner
f6fb52afbf
clan.static-hosts: excludeHosts should be empty if topLevelDomain is defined.
2024-06-03 10:44:41 +00:00
clan-bot
8089b87bbb
Merge pull request 'Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."' ( #1543 ) from lassulus/clan-core:lassulus-HEAD into main
2024-06-03 10:30:50 +00:00
lassulus
578162425d
Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."
...
This reverts commit ba86b49952 .
2024-06-03 12:25:20 +02:00
clan-bot
dbad63f155
Merge pull request 'clan_cli secrets_upload: fix permissions' ( #1542 ) from lassulus/clan-core:lassulus-HEAD into main
2024-06-03 08:58:49 +00:00
lassulus
da8a733899
clan_cli secrets_upload: fix permissions
2024-06-03 10:52:18 +02:00
clan-bot
8f58f1998d
Merge pull request 'Automatic flake update - 2024-06-03T00:00+00:00' ( #1540 ) from flake-update-2024-06-03 into main
2024-06-03 00:05:17 +00:00
Clan Merge Bot
c43fe5187f
update flake lock - 2024-06-03T00:00+00:00
...
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/10986091e47fb1180620b78438512b294b7e8f67' (2024-05-27)
→ 'github:nix-community/disko/0274af4c92531ebfba4a5bd493251a143bc51f3c' (2024-05-31)
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9' (2024-05-16)
→ 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8' (2024-06-01)
• Updated input 'nixos-images':
'github:nix-community/nixos-images/2478833ef8cc6de3d9e331f53b6f3682e425f207' (2024-05-27)
→ 'github:nix-community/nixos-images/47bfb55316e105390dd761e0b6e8e0be09462b67' (2024-05-30)
• Updated input 'nixos-images/nixos-2311':
'github:NixOS/nixpkgs/0c007b36981bdbd69ccf0c7df30a174e63660667' (2024-05-26)
→ 'github:NixOS/nixpkgs/64e468fd2652105710d86cd2ae3e65a5a6d58dec' (2024-05-29)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4ae13643e7f2cd4bc6555fce074865d9d14e7c24' (2024-05-28)
→ 'github:NixOS/nixpkgs/6634a0509e9e81e980b129435fbbec518ab246d0' (2024-06-02)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/962797a8d7f15ed7033031731d0bb77244839960' (2024-05-26)
→ 'github:Mic92/sops-nix/ab2a43b0d21d1d37d4d5726a892f714eaeb4b075' (2024-06-02)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b' (2024-05-17)
→ 'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706' (2024-06-01)
2024-06-03 00:00:22 +00:00
clan-bot
0993fe45f6
Merge pull request 'clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py' ( #1536 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-02 14:56:41 +00:00
Qubasa
ba86b49952
clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py.
2024-06-02 16:52:31 +02:00
clan-bot
0b34c340fc
Merge pull request 'clan-cli: Refactor machines/update.py to cmd.run' ( #1535 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-02 08:04:18 +00:00
Qubasa
d513f66170
clan-cli: Refactor machines/update.py to cmd.run
2024-06-02 10:00:23 +02:00
clan-bot
320fb776ea
Merge pull request 'clan-cli: Add input arg to cmd.run. Replace subprocess.run in password_store' ( #1533 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-02 07:57:18 +00:00
Qubasa
1a39957dbb
clan-cli: Refactor subprocess.run to cmd.run. tea-create-pr: Fix missing fail-on-change for treefmt
2024-06-02 09:53:24 +02:00
clan-bot
b5abe4025a
Merge pull request 'docs: Add meta tags for link preview and fix js loading issue.' ( #1531 ) from Qubasa/clan-core:Qubasa-main into main
2024-06-01 20:23:30 +00:00
Qubasa
55f4dcc460
docs: Add meta tags for link preview and fix js loading issue.
2024-06-01 22:19:37 +02:00
hsjobeki
ef4a83f739
Merge pull request 'clan-core: add clan meta for ui usage' ( #1529 ) from hsjobeki-main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1529
2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
133f2b705f
clan-core: add template to impure tests
2024-05-31 16:26:46 +00:00
Johannes Kirschbauer
83fe58e003
clan-core: add clan meta for ui usage
2024-05-31 16:26:46 +00:00
clan-bot
481f926b17
Merge pull request 'split list machines into show machine command' ( #1521 ) from machines-show into main
2024-05-31 15:00:03 +00:00
Jörg Thalheim
788eae432a
split list machines into show machine command
2024-05-31 16:56:09 +02:00
clan-bot
b7936c4ed2
Merge pull request 'upgrade nix in development to latest' ( #1528 ) from nix-latest into main
2024-05-31 14:41:21 +00:00
Jörg Thalheim
750c8df003
upgrade nix in development to latest
...
Better error messages!!
2024-05-31 16:37:07 +02:00
clan-bot
276c39aba4
Merge pull request 'Contributing.md: Fix incorrect formating.' ( #1527 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-31 14:02:18 +00:00
Qubasa
90e25eeb76
Contributing.md: Fix incorrect formating.
2024-05-31 15:58:29 +02:00
clan-bot
56676701ae
Merge pull request 'clan: add dynamic completions for fact generation services' ( #1525 ) from a-kenji-clan/complete-services into main
2024-05-31 13:25:15 +00:00
a-kenji
bcccf301f0
clan: add dynamic completions for fact generation services
2024-05-31 15:21:07 +02:00
clan-bot
e343ba5635
Merge pull request 'Contributing.md: Explain merge-after-ci for externals.' ( #1524 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-31 12:02:02 +00:00
Qubasa
66fe5ec4fd
Contributing.md: Explain merge-after-ci for externals.
2024-05-31 13:58:13 +02:00
clan-bot
f2a884ec30
Merge pull request 'clan: add completion timeout as static' ( #1523 ) from a-kenji-clan/completions into main
2024-05-31 11:10:52 +00:00
a-kenji
d31aa7cf88
clan: add completion timeout as static
2024-05-31 13:06:46 +02:00
clan-bot
9f19a8e605
Merge pull request 'clan: add dynamic completions' ( #1522 ) from a-kenji-clan/cli/init-dynamic-completions into main
2024-05-31 11:00:50 +00:00
a-kenji
23ef39a2d9
clan: add dynamic completions
...
Add dynamic completion scaffolding to the clan `cli`.
Also add a dynamic completion mechanism for machines for commands that
have machines as their sole argument.
More intricate dynamic completions will be implemented in follow up
PR's.
2024-05-31 12:55:41 +02:00
clan-bot
dda82c49b0
Merge pull request 'tea-create-pr: Add automatic rebase and autostash' ( #1518 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-30 22:03:38 +00:00
Qubasa
c91c90a2a6
tea-create-pr: Add automatic rebase and autostash
2024-05-30 23:59:27 +02:00
clan-bot
5794cdf8fa
Merge pull request 'docs: Fix installer wrong indentation' ( #1516 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-30 21:44:41 +00:00
Qubasa
01a4748d6b
tea-create-pr: Fix non working assignees label
2024-05-30 23:37:53 +02:00
Qubasa
a8762522c8
tea-create-pr: Better username detection
2024-05-30 23:29:59 +02:00
Qubasa
adef52a938
docs: Fix installer wrong indentation
2024-05-30 22:41:30 +02:00
clan-bot
c8fbf87fc8
Merge pull request 'Change clan favicon to one without text' ( #1506 ) from Qubasa/clan-core:Qubasa-main into main
2024-05-30 20:30:02 +00:00
Qubasa
f63e3618c2
tea-create-pr: Require fork and upstream branch
2024-05-30 22:25:25 +02:00
Qubasa
b18d7bfeac
Change clan favicon to one without text
2024-05-30 21:59:48 +02:00
clan-bot
076b98ff00
Merge pull request 'Webview: css font and icon import transformation' ( #1501 ) from hsjobeki-main into main
2024-05-30 16:28:14 +00:00
Johannes Kirschbauer
6999685bba
Webview: css font and icon import transformation
2024-05-30 18:23:49 +02:00
kenji
f1c02bbd46
Merge pull request 'Add top level domain option for zerotier machines.' ( #1499 ) from mrvandalo/clan-core:feature/static-host-tld into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1499
2024-05-29 18:40:15 +00:00
Ingolf Wagner
2caa837537
Add top level domain option for zerotier machines.
2024-05-29 18:40:15 +00:00
clan-bot
e1ddbf226a
Merge pull request 'install.sh: improvements' ( #1500 ) from DavHau-install-dev into main
2024-05-29 18:03:50 +00:00
DavHau
7cb8c114c2
install.sh: improvements
...
- use either curl or wget
- add to PATH /nix/var/nix/profiles/default/bin
2024-05-29 18:51:34 +02:00
clan-bot
5945630870
Merge pull request 'gui-installer: depend on git + ignore flake config' ( #1498 ) from DavHau-dave into main
2024-05-29 15:48:54 +00:00
DavHau
ccadac4bb3
gui-installer: depend on git + ignore flake config
2024-05-29 17:42:44 +02:00
clan-bot
15b77f6b8a
Merge pull request 'Webview: bootstrap layout' ( #1497 ) from hsjobeki-main into main
2024-05-29 14:45:45 +00:00
Johannes Kirschbauer
9bf76037aa
Webview: bootstrap layout
2024-05-29 16:40:54 +02:00
Mic92
d0d973b797
Merge pull request 'make config command read-only' ( #1319 ) from config into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1319
2024-05-29 11:25:27 +00:00
Jörg Thalheim
c1e2bc9ea9
make config command read-only
2024-05-29 13:17:55 +02:00
clan-bot
0eef21e2ef
Merge pull request 'Update flakes' ( #1492 ) from pass-nix-options into main
2024-05-29 10:58:19 +00:00
Jörg Thalheim
461aa579c2
fmt more stuff
2024-05-29 12:51:43 +02:00
Jörg Thalheim
da442c47f6
drop non-compiling wayland-proxy-virtwl
2024-05-29 12:51:18 +02:00
Jörg Thalheim
491d37ea67
update flake
2024-05-29 12:51:04 +02:00
clan-bot
7e087d18ee
Merge pull request 'fix offline build of flash command' ( #1491 ) from pass-nix-options into main
2024-05-29 10:49:15 +00:00
Jörg Thalheim
5c75a6490b
fix offline build of flash command
2024-05-29 12:45:50 +02:00
Jörg Thalheim
750b6aec59
flash: make configuration more explicit
...
Injecting nixos configuration and potentially overriding settings a user
made and can cause surprises.
In most cases, users want to just make these option part of their NixOS
configuration and by having the rest in the command line
we make it more explicit what other configuration is being applied.
2024-05-29 12:45:50 +02:00
clan-bot
d138e29a53
Merge pull request 'Consistently pass nix options to underlying tools' ( #1488 ) from pass-nix-options into main
2024-05-29 08:25:53 +00:00
clan-bot
a7febba9c8
Merge pull request 'clan: clarify default backend' ( #1490 ) from a-kenji-cli/facts-clarify into main
2024-05-29 08:23:06 +00:00
Jörg Thalheim
f0f97baa65
drop global argparse flags
...
They get shadowed by subargparser options.
2024-05-29 10:21:35 +02:00
a-kenji
c2dc94507e
clan: clarify default backend
2024-05-29 10:17:22 +02:00
clan-bot
7c0aaab463
Merge pull request 'clan: add epilog to facts subcommands' ( #1489 ) from a-kenji-cli/expand-examples into main
2024-05-29 08:15:46 +00:00
Jörg Thalheim
5dcac604d1
backup cli: make sure we have a flake
2024-05-29 10:14:14 +02:00
Jörg Thalheim
96746b7c98
flash: add write-efi-boot-entries flag
2024-05-29 10:14:14 +02:00
Jörg Thalheim
2ae50b7398
allow to override nix options in update/install/flash commands
2024-05-29 10:14:14 +02:00
a-kenji
3c905c5072
clan: add epilog to facts subcommands
2024-05-29 10:10:23 +02:00
Jörg Thalheim
5b926f57cc
cli: also register common flags in subcommands
...
When a user runs --help on a subcommand they don't see some options such
as --options or --flake. To fix this we now register all common flags
also in subcommands.
2024-05-29 09:29:49 +02:00
clan-bot
b9788a5dba
Merge pull request 'clan/docs.py: remove epilog from the reference overview' ( #1487 ) from a-kenji-cli/docs/reference-overview into main
2024-05-28 18:05:07 +00:00
a-kenji
7078f09872
clan/docs.py: remove epilog from the reference overview
2024-05-28 20:01:48 +02:00
Mic92
1aa7808c02
Merge pull request 'Update Contributing guide to external developers' ( #1484 ) from Qubasa/clan-core:main into main
...
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/1484
2024-05-28 16:12:11 +00:00
Qubasa
ba8a51101d
Update Contributing guide to external developers
2024-05-28 18:06:31 +02:00
clan-bot
de69c970aa
Merge pull request 'packaging: package clan gui for many distros' ( #1485 ) from DavHau-dave into main
2024-05-28 15:54:08 +00:00
DavHau
fe5fa6a85d
packaging: package clan gui for many distros
2024-05-28 17:50:32 +02:00
clan-bot
de74febf64
Merge pull request 'packaging: package clan gui for many distros' ( #1483 ) from DavHau-dave into main
2024-05-28 15:37:18 +00:00
DavHau
3b6483e819
packaging: package clan gui for many distros
2024-05-28 17:33:55 +02:00
clan-bot
dcd6ad0983
Merge pull request 'Docs: fix relative links to git.clan.lol' ( #1482 ) from hsjobeki-main into main
2024-05-28 15:18:45 +00:00
Johannes Kirschbauer
567d979243
Docs: fix relative links to git.clan.lol
2024-05-28 17:14:16 +02:00
clan-bot
c81a8681b0
Merge pull request 'clan/docs.py: add epilog to reference docs' ( #1481 ) from a-kenji-docs/epilog into main
2024-05-28 15:13:57 +00:00
a-kenji
31cde90819
clan/docs.py: add epilog to reference docs
...
Fixes #1469
2024-05-28 17:08:46 +02:00
clan-bot
a77bf5bf21
Merge pull request 'Docs: use offline fonts' ( #1480 ) from hsjobeki-main into main
2024-05-28 15:05:22 +00:00
Johannes Kirschbauer
4befa80eb8
Docs: use offline fonts
2024-05-28 16:58:59 +02:00
clan-bot
52584662a8
Merge pull request 'Fix typos' ( #1477 ) from a-kenji-fix/typos into main
2024-05-28 13:02:19 +00:00
a-kenji
de147f63e9
Fix typos
2024-05-28 14:58:38 +02:00
clan-bot
96c33dec7a
Merge pull request 'consistent rename cLAN -> Clan' ( #1475 ) from rename into main
2024-05-28 11:38:57 +00:00
Jörg Thalheim
3c0b5f0867
drop deprecated mdDoc
2024-05-28 13:35:11 +02:00
clan-bot
c252f11c1f
Merge pull request 'docs/secrets: improve chapter assigning access' ( #1474 ) from DavHau-dave into main
2024-05-28 11:11:46 +00:00
DavHau
f1f040397d
docs/secrets: improve chapter assigning access
...
Since we already walk the user through creating a secret in an earlier step, it makes more sense explain first how to add machines/users to an existing secret instead of creating a new one
2024-05-28 13:08:19 +02:00
clan-bot
418e9937cb
Merge pull request 'clan: add descriptions for reference documentation' ( #1473 ) from a-kenji-cli/doc into main
2024-05-28 09:40:50 +00:00
a-kenji
c34664429c
clan: add descriptions for reference documentation
2024-05-28 11:37:32 +02:00
clan-bot
6fe5928297
Merge pull request 'clan: add run_no_stdout function suppressing stdout' ( #1472 ) from a-kenji-run_no_stdout into main
2024-05-28 09:17:14 +00:00
a-kenji
eee99730d1
clan: add run_no_stdout function suppressing stdout
...
Add the `run_no_stdout` function suppressing stdout by default.This
keeps the noise down on most commands, while still
stayingdebuggable.Stdout will be active when the `--debug` flag is
passed to the cli.
Fixes #1443
2024-05-28 11:13:55 +02:00
clan-bot
9394760e3b
Merge pull request 'editor: improve nixpkgs option completions' ( #1470 ) from a-kenji-improve/editor into main
2024-05-28 07:38:09 +00:00
a-kenji
a0b0e1a0ac
editor: improve nixpkgs option completions
2024-05-28 09:34:57 +02:00
Jörg Thalheim
e2d7e6e86c
consistent rename cLAN -> Clan
2024-05-27 15:54:17 +02:00