r-vdp
|
015935f46e
|
Move the test module into a separate dir.
|
2023-03-24 16:35:02 +01:00 |
|
r-vdp
|
0cc421ead0
|
Rename --flake-uri to --flake.
|
2023-03-24 16:19:18 +01:00 |
|
r-vdp
|
65321376e8
|
Implement deactivate with a target host + documentation
|
2023-03-23 17:07:04 +01:00 |
|
r-vdp
|
9278cc8be8
|
Allow for a job monitor to be reused.
|
2023-03-23 14:23:43 +01:00 |
|
r-vdp
|
4460250457
|
Do not overwrite unmanaged files in /etc.
|
2023-03-23 11:53:22 +01:00 |
|
r-vdp
|
f7edf3a52f
|
Move the logic to serialise and deserialise EtcTrees into the type's impl.
|
2023-03-23 11:52:41 +01:00 |
|
r-vdp
|
47f32ccea7
|
Use TODO everywhere.
|
2023-03-22 23:16:25 +01:00 |
|
r-vdp
|
e60fa080b4
|
Small refactors.
|
2023-03-22 23:15:41 +01:00 |
|
r-vdp
|
fe41f93e82
|
Remove unused compose function.
|
2023-03-22 17:52:34 +01:00 |
|
r-vdp
|
c9a47913f4
|
Add the possibility to define assertions to be checked before activation.
|
2023-03-22 15:52:56 +01:00 |
|
r-vdp
|
02a0e81d6d
|
Avoid manual construction of paths.
|
2023-03-22 15:48:27 +01:00 |
|
r-vdp
|
542f0fea95
|
Don't reload the systemd daemon when it's not needed.
|
2023-03-21 23:59:26 +01:00 |
|
r-vdp
|
10ee13b5b7
|
Refactor to reduce repetitive code.
|
2023-03-21 17:44:19 +01:00 |
|
r-vdp
|
743be9537c
|
Extract as a function.
|
2023-03-21 16:47:59 +01:00 |
|
r-vdp
|
43a2af24ae
|
Avoid killing systemd by properly restoring /run/systemd/system
|
2023-03-21 16:35:08 +01:00 |
|
r-vdp
|
58353436c2
|
Complete rework of the systemd logic.
|
2023-03-21 16:14:12 +01:00 |
|
r-vdp
|
6282ee5357
|
Refactor the code for the services to do less copying.
|
2023-03-20 10:49:32 +01:00 |
|
r-vdp
|
6a7910bab1
|
Avoid an unneeded extra "etc" directory.
|
2023-03-17 15:47:56 +01:00 |
|
r-vdp
|
527e0269ff
|
Small optimisations in the systemd module.
|
2023-03-17 14:49:50 +01:00 |
|
R-VdP
|
e5f7e5f5f1
|
Use & instead of calling .as_path()
|
2023-03-16 13:44:59 +01:00 |
|
R-VdP
|
bacaae7878
|
Reduce duplication.
|
2023-03-16 12:05:13 +01:00 |
|
R-VdP
|
f569c59eee
|
Pass the correct closure to the update_state call.
|
2023-03-16 11:59:44 +01:00 |
|
R-VdP
|
687c533478
|
Pass the status along to the delete_action so that we can act correctly on non-empty dirs.
|
2023-03-16 11:59:20 +01:00 |
|
R-VdP
|
126cad884b
|
Handle flake URIs ending in #
|
2023-03-15 20:43:04 +01:00 |
|
R-VdP
|
25ac812c53
|
Be a bit more flexible regarding the flake-uri argument.
|
2023-03-15 19:51:56 +01:00 |
|
R-VdP
|
ed99b39f6c
|
Improve log output.
|
2023-03-15 14:05:52 +01:00 |
|
R-VdP
|
306e055922
|
Check if an existing file is managed before copying.
|
2023-03-15 14:05:11 +01:00 |
|
R-VdP
|
95d8fe7583
|
Add EtcTree::get_status.
|
2023-03-14 21:06:06 +01:00 |
|
R-VdP
|
a3e5318442
|
Clean up use statements.
|
2023-03-14 21:05:49 +01:00 |
|
R-VdP
|
15dd869682
|
Move the systemsConfigs key so that every entry defines its system. Determine flake attrs automatically.
|
2023-03-14 20:37:35 +01:00 |
|
R-VdP
|
5f72cae0bd
|
Properly clean up dnagling unmanaged entries in the state file.
|
2023-03-14 17:14:39 +01:00 |
|
R-VdP
|
5b91600523
|
Properly clean up dnagling unmanaged entries in the state file.
|
2023-03-14 17:06:18 +01:00 |
|
R-VdP
|
16b3a09558
|
Refactor Result handling.
|
2023-03-14 16:40:01 +01:00 |
|
R-VdP
|
95f9897766
|
Cleanup of EtcTree.
|
2023-03-14 16:39:47 +01:00 |
|
R-VdP
|
0e5a2c4bd7
|
Move EtcTree to its own module.
|
2023-03-14 11:36:56 +01:00 |
|
R-VdP
|
f98bc65631
|
Finish implementation of EtcTree.
|
2023-03-14 11:06:55 +01:00 |
|
R-VdP
|
e8e21ee2d5
|
Implement EtcTree::update_state
|
2023-03-13 18:50:16 +01:00 |
|
R-VdP
|
74d422bad6
|
Extra test case.
|
2023-03-10 21:39:28 +01:00 |
|
R-VdP
|
c7a66c76ed
|
WIP, etc tree implementation.
|
2023-03-10 21:18:35 +01:00 |
|
R-VdP
|
cf91b29724
|
WIP
|
2023-03-08 00:24:10 +01:00 |
|
R-VdP
|
06bc73beae
|
Copy the closure when running a build with --target_host.
|
2023-02-21 12:15:46 +01:00 |
|
R-VdP
|
3280073a0f
|
Implement --target-host
|
2023-02-20 20:19:54 +01:00 |
|
R-VdP
|
49f30480ea
|
Clean up format strings.
|
2023-02-17 13:29:41 +01:00 |
|
R-VdP
|
f861aa6d2a
|
Avoid unneeded clone.
|
2023-02-17 13:22:38 +01:00 |
|
R-VdP
|
4cde2facf9
|
When building, print the raw store path to stdout.
|
2023-02-17 11:55:22 +01:00 |
|
R-VdP
|
71c2e5bf21
|
Use anyhow::bail!
|
2023-02-17 11:51:12 +01:00 |
|
R-VdP
|
1cce38559c
|
Handle nix output better.
|
2023-02-17 11:49:16 +01:00 |
|
R-VdP
|
e28ba15456
|
Add a deactivate subcommand.
|
2023-02-16 16:43:05 +01:00 |
|
R-VdP
|
642c8be096
|
Add documentation.
|
2023-02-15 14:16:47 +01:00 |
|
R-VdP
|
0d1067ac72
|
Implement better CLI API (closes #7).
|
2023-02-15 12:51:44 +01:00 |
|