26c655ff3c
Add settings.json back
2024-06-25 12:23:29 +00:00
7f674e6f63
Remove useless settings.json
2024-06-25 12:23:29 +00:00
3aa7a6ee69
Inventory: move to lib.inventory
2024-06-25 12:23:29 +00:00
b74590f381
Inventory: simplify build-clan interface
2024-06-25 12:23:29 +00:00
2f8b782a1f
Inventory: init module merge & validation logic for inventory
2024-06-25 12:23:29 +00:00
c89080deb4
Extend build-clan interface
2024-06-25 12:23:29 +00:00
313db5643f
refactor: rename clanCore -> clan.core
buildbot/nix-build .#checks.x86_64-linux.package-merge-after-ci Build done.
buildbot/nix-build .#checks.x86_64-linux.package-moonlight-sunshine-accept Build done.
buildbot/nix-build .#checks.x86_64-linux.package-pending-reviews Build done.
buildbot/nix-build .#checks.x86_64-linux.package-tea-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotier-members Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotierone Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.postgresql Build done.
buildbot/nix-build .#checks.x86_64-linux.package-function-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.secrets Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-flash-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.template-minimal Build done.
buildbot/nix-build .#checks.x86_64-linux.package-module-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.package-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.syncthing Build done.
buildbot/nix-build .#checks.x86_64-linux.package-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.devShell-clan-app Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-without-core Build done.
buildbot/nix-build .#checks.x86_64-linux.package-webview-ui Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-app Build done.
buildbot/nix-build .#checks.x86_64-linux.package-gui-install-test-ubuntu-22-04 Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-with-core Build done.
buildbot/nix-build .#checks.x86_64-linux.test-backups Build done.
checks / checks-impure (pull_request) Successful in 2m10s
buildbot/nix-build .#checks.x86_64-linux.flash Build done.
buildbot/nix-build .#checks.x86_64-linux.test-installation Build done.
buildbot/nix-eval Build done.
2024-06-18 18:32:40 +07:00
83fe58e003
clan-core: add clan meta for ui usage
2024-05-31 16:26:46 +00:00
1ac982fbdb
set networking.hostName to clanCore.machineName
2024-04-09 15:10:08 +02:00
6f9216d3b6
buildClan: add clan-core to specialArgs
checks / check-links (pull_request) Successful in 13s
checks / checks (pull_request) Successful in 36s
checks / checks-impure (pull_request) Successful in 1m50s
2024-04-02 16:03:45 +07:00
e296a3019d
re-format with nixfmt
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m50s
checks / checks (pull_request) Successful in 4m23s
2024-03-17 19:48:49 +01:00
1356ca9b8c
fix cross-system deploy
...
This allows to be nixpkgs.pkgs and deploy systems of a different arch.
2024-02-21 10:55:53 +01:00
6871b29d15
vms: use vm fact/secret-store
checks-impure / test (pull_request) Successful in 1m56s
checks / test (pull_request) Successful in 2m17s
2024-02-15 10:41:25 +01:00
eebd9d0b4a
allow passing of extra_config into machines
checks-impure / test (pull_request) Successful in 1m40s
checks / test (pull_request) Successful in 2m41s
2024-02-11 08:40:41 +01:00
614d1aecfd
set nixpkgs.pkgs for secrets generation
...
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m40s
This allows us to use the same nixpkgs instance for all machines.
2024-02-06 17:21:42 +01:00
21443d0647
cli,nix: Add machine_icon, machine_description
checks-impure / test (pull_request) Successful in 1m48s
checks / test (pull_request) Successful in 3m0s
2024-02-06 19:25:34 +07:00
4421797f30
build-clan: Removed unecessary arg, machineDescription and machineIcon
checks-impure / test (pull_request) Successful in 1m34s
checks / test (pull_request) Successful in 2m17s
2024-02-05 16:56:13 +07:00
b3815527a5
Added machineIcon and machineDescription to buildClan
checks-impure / test (pull_request) Successful in 1m33s
checks / test (pull_request) Successful in 2m17s
2024-02-05 14:18:40 +07:00
4a3abf5fe9
build-clan: force system override in secrets generators
2024-01-17 14:40:46 +00:00
fb151b227d
build-clan: don't set system with lib.mkForce
checks-impure / test (pull_request) Successful in 1m30s
checks / test (pull_request) Successful in 2m30s
2024-01-17 15:25:29 +01:00
eba34bf2f7
Changed clanIcon to be included into clanCore
checks-impure / test (pull_request) Successful in 1m35s
checks / test (pull_request) Successful in 2m18s
2023-12-08 19:08:57 +01:00
31d95e64f8
Added clanIcon
checks-impure / test (pull_request) Successful in 1m31s
checks / test (pull_request) Successful in 2m5s
2023-12-08 19:01:11 +01:00
4aa60317fa
move clanName into nixos machine configuration
2023-12-08 15:05:56 +00:00
7f6b0dfaea
pin nixos-wide registry to nixpkgs used to build the machine itself
...
checks-impure / test (pull_request) Successful in 1m59s
checks / test (pull_request) Successful in 2m16s
Instead of downloading archives and filling up vm disk space we can juse the nixpkgs version we already use for evaluating
2023-11-16 13:49:35 +01:00
a71584d9d2
Added clanName argument to clan-core.lib.builClan
2023-10-27 19:20:17 +02:00
bf176ad277
api/machines: allow importing extra modules
...
checks-impure / test (pull_request) Successful in 36s
checks / test (pull_request) Successful in 2m6s
- add top-level option `clanImports` to clanCore
- clanImports can be set and checked as any other option
- buildClan resolves the clanImports from the settings.json before calling evalModules to prevent infinite recursions
- new endpoint PUT machines/{name}/schema to allow getting the schema for a specific list of imports
- to retrieve the currently imported modules, cimply do a GET or PU on machines/{name}/config which will return `clanImports` as part of the config
Still missing: get list of available modules
2023-10-25 16:36:30 +01:00
588bde069f
PUT api/machines/{name}/config: ensure only valid config is ever written
...
checks-impure / test (pull_request) Successful in 1m0s
checks / test (pull_request) Successful in 2m24s
- add CLAN_MACHINE_SETTINGS_FILE variable to temporarily override the machine settings file
- do a dry-run evaluation first with the new config before persisting it.
2023-10-24 18:40:48 +01:00
fcd1d18e15
restore possibility to update all machines without having to specify them
checks-impure / test (pull_request) Successful in 21s
checks / test (pull_request) Successful in 30s
2023-10-04 08:35:59 +02:00
7ca9c49163
restore clanInternals with valid nixos config
2023-09-29 19:39:35 +02:00
16b33eb0a8
add toplevel machines-json that can deploy all hosts
2023-09-28 15:23:25 +02:00
85f7e2f2cd
clanInternals.machines: expose information as json
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 24s
2023-09-27 18:42:49 +02:00
756820e4ca
clanInternals.machines: invert system and machine name
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 24s
2023-09-27 17:26:44 +02:00
aeed648bd0
secrets: use clanInternal for crosscompiling, move sops generators to new file
2023-09-21 17:25:32 +02:00
9f033aef55
fix quoting
2023-09-05 06:14:14 +00:00
d51dd39ae3
buildClan: fix importing machines from settings
checks-impure / test (pull_request) Successful in 12s
checks / test (pull_request) Successful in 9m40s
2023-09-03 15:18:29 +02:00
cfec69fec4
different fix for missing secrets
2023-09-03 14:07:31 +02:00
f1e8070412
Revert "fix machines folder not beeing present yet"
...
This reverts commit 14335ae576
.
2023-09-03 13:53:20 +02:00
14335ae576
fix machines folder not beeing present yet
checks-impure / test (pull_request) Successful in 12s
checks / test (pull_request) Successful in 23s
2023-09-03 13:42:04 +02:00
0a3982d0ac
fix machines folder not beeing present yet
checks-impure / test (pull_request) Successful in 11s
checks / test (pull_request) Successful in 24s
2023-09-03 13:33:41 +02:00
5dd318e637
buildClan: machineName
checks-impure / test (pull_request) Successful in 11s
checks / test (pull_request) Successful in 21s
2023-09-03 13:09:35 +02:00
75cfd84949
buildClan: set clanCore.directory and hostPlatform
2023-09-02 18:26:45 +02:00
1d496c6363
buildClan: also import clanCore module
checks-impure / test (pull_request) Successful in 5s
checks / test (pull_request) Successful in 1m20s
2023-08-30 16:41:50 +02:00
72768573db
drop non-existent clan modules
checks-impure / test (pull_request) Successful in 3s
checks / test (pull_request) Successful in 3s
2023-08-29 22:30:33 +02:00
d88c628f57
buildClan: also allow machines without settings
checks-impure / test (pull_request) Successful in 3s
checks / test (pull_request) Successful in 3s
2023-08-29 22:03:57 +02:00
a4e182debf
clan template: reduce autogenerate code to a minimum
2023-08-29 13:54:06 +00:00