Commit graph

23 commits

Author SHA1 Message Date
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
R-VdP
972d27b977
Store the profile in a subdirectory of /nix/var/nix/profiles
Otherwise the grub installation script treats them as system profiles and tries to include them in the bootloader menu (See 5eb6139626/nixos/modules/system/boot/loader/grub/install-grub.pl (L570)).
2023-02-15 11:13:43 +01:00
R-VdP
e2e0e74a74
Improve error handling. 2023-02-14 13:39:21 +01:00
R-VdP
b3c7f71456
Implement files under /etc 2023-02-13 20:24:23 +01:00
R-VdP
b758c270c7
Reload the systemd daemon at the right time. 2023-02-10 11:19:10 +00:00
R-VdP
49f92dd6b8
Use crane to build faster. 2023-02-09 16:26:23 +00:00
R-VdP
7a8fe92371
Better argument name. 2023-02-09 15:05:42 +00:00
R-VdP
9aa059887b
Work on properly implementing the activation of systemd services. 2023-02-09 15:04:27 +00:00
R-VdP
c3be9ceb19
Write generation state into a state file and restructure the services.json file produced by nix. 2023-02-09 10:25:04 +00:00
R-VdP
8f31818a27
Move the profile to the system level. 2023-02-08 14:31:09 +00:00
R-VdP
1620a81d15
Split code in modules. 2023-02-08 14:10:16 +00:00
R-VdP
50b4212a06
Activate services using DBus. 2023-02-07 23:19:02 +00:00
R-VdP
b291685a98
Add auto-generated DBus bindings.
Code largely taken from git.sr.ht/~rycee/sd-switch
2023-02-03 15:58:42 +00:00
R-VdP
4592e2bacc
Improve error handling and logging. 2023-02-03 11:17:20 +00:00
R-VdP
10b7ba5954
Small fixes. 2023-02-03 00:15:25 +00:00
R-VdP
a9632c07d1
Improve how we save the service-manager profile. 2023-02-03 00:08:12 +00:00
R-VdP
c83afe6788
More detailed output when activating. 2023-02-02 17:44:13 +00:00
R-VdP
f784f06107
Continue implementing basic features. 2023-02-02 17:31:10 +00:00
Jean-François Roche
17576e2ca2
Fix clippy error 2023-02-02 00:55:38 +01:00
Jean-François Roche
942ed011c9
Add nix shell and some checks 2023-02-02 00:55:37 +01:00
R-VdP
349255de8d
Register a new GC root when creating a new generation. 2023-02-01 17:28:02 +00:00
R-VdP
6a849d71d0
First version. 2023-02-01 16:29:02 +00:00