Commit Graph

15 Commits

Author SHA1 Message Date
Jörg Thalheim
d049067096 factstore: secret backends now can return the path to a secret dynamically
try to move path function out
2024-04-10 15:14:30 +00:00
lassulus
2893025f3f refactor clanCore.secrets -> clanCore.facts 2024-03-27 16:03:16 +01:00
lassulus
8d34c51df2 refactor secrets & facts -> secret_facts & public_facts 2024-03-23 05:46:54 +01:00
Jörg Thalheim
ede4d3f6e5 re-format with nixfmt 2024-03-17 19:48:49 +01:00
lassulus
e74b586576 outputs: pass secretsData directly 2024-03-02 11:43:20 +01:00
Jörg Thalheim
023b9f4257 add option to set defaultGroups for secrets 2024-02-16 17:26:20 +01:00
lassulus
e3627c12f7 add factsStore modules 2024-02-15 10:41:25 +01:00
lassulus
bbc28a6262 clan-cli: add simple flash command 2024-02-07 05:26:01 +01:00
Jörg Thalheim
5afd5baeb2 add requireExplicitUpdate option for mobile devices 2024-02-06 17:55:34 +01:00
Jörg Thalheim
d36aea3f73 move checks if targetHost/buildHost is set to cli 2024-02-06 14:51:44 +01:00
Jörg Thalheim
584299e199 rename deployment address to target address
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
lassulus
1d4e533438 move secret stores into clan_cli codebase 2024-01-24 15:49:12 +01:00
lassulus
ed6eb50f7d WIP: clan-cli secrets: add secret_store as python class 2024-01-23 15:04:40 +01:00
DavHau
4bdf769075 VMs: persist state folders on host
Done:
- move vm inspect attrs from system.clan.vm.config to clanCore.vm.inspect. This gives us proper name and type checking. everything in `system` is basically freeform, so the previous option definitions were never enforced
- when running VMs, mount state directory from ~/.config/clan/vmstate/{...} from the host to /var/vmstate inside the vm
- create bind mount inside the VM from /var/vmstate/{folder} to / for all folders defined in clanCore.state.<name>.folders

TODOs:
- make sure directories in ~/.config/clan/vmstate never collide (include hash of clan-url, etc.)
- port impure test to python
2024-01-08 18:38:07 +07:00
Jörg Thalheim
a1a8486be8 clanCore: refactor flake-module.nix into smaller files 2023-12-15 14:14:20 +01:00