Commit graph

287 commits

Author SHA1 Message Date
R-VdP
fc6909bbc7
Using systemdMinimal takes care of other native build deps. 2023-02-10 12:56:55 +00:00
Ramses
aa46dc997d
Merge pull request #5 from R-VdP/fix/devshell
Enable rust to compile in dev shell with required system libraries
2023-02-10 13:44:06 +01:00
R-VdP
b758c270c7
Reload the systemd daemon at the right time. 2023-02-10 11:19:10 +00:00
Jean-François Roche
c80976f7b7 Enable rust to compile with required system libraries 2023-02-10 10:47:34 +00:00
Jean-François Roche
0ffc67051e Do not build when entering the shell 2023-02-10 10:47:14 +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
c7a481976d
Create more services to test activation logic. 2023-02-07 23:19:25 +00:00
R-VdP
50b4212a06
Activate services using DBus. 2023-02-07 23:19:02 +00:00
R-VdP
efe60a960e
Switch to Rust 1.66.0 and remove RUST_LOG which caused all Rust apps to log. 2023-02-03 16:00:25 +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
R-VdP
fbe9f2eabb
Allow passing in a list of modules to the serviceConfig. 2023-02-02 09:27:40 +00:00
R-VdP
23ef158676
lib does not depend on the system. 2023-02-02 09:23:35 +00:00
R-VdP
4f9dbd70f1
Avoid recursive attrsets. 2023-02-02 09:02:09 +00:00
R-VdP
046d73c1a9
Use follows to avoid multiple copies of dependencies. 2023-02-02 09:00:08 +00:00
Ramses
23e3dcf059
Merge pull request #1 from jfroche/chore/nix-shell
Add nix shell & some checks
2023-02-02 09:35:45 +01:00
Jean-François Roche
17576e2ca2
Fix clippy error 2023-02-02 00:55:38 +01:00
Jean-François Roche
add2910abf
Fix formatting using nixpgks-fmt 2023-02-02 00:55:37 +01:00
Jean-François Roche
942ed011c9
Add nix shell and some checks 2023-02-02 00:55:37 +01:00
R-VdP
929da3e3c3
Move nix code under nix/ 2023-02-01 17:39:07 +00:00
R-VdP
fe6fb907f7
Add an activation script. 2023-02-01 17:36:07 +00:00
R-VdP
349255de8d
Register a new GC root when creating a new generation. 2023-02-01 17:28:02 +00:00
R-VdP
255818a001
Move lib into its own file. 2023-02-01 17:05:44 +00:00
R-VdP
dbe192d11e
The caller defines the system. 2023-02-01 16:59:24 +00:00
R-VdP
504f413c02
Set the services to be included as an option in the module. 2023-02-01 16:57:15 +00:00
R-VdP
95bd335d8c
Move the function to generate the store path into lib. 2023-02-01 16:47:43 +00:00
R-VdP
6a849d71d0
First version. 2023-02-01 16:29:02 +00:00
Ramses
c36768018a
Initial commit 2023-02-01 18:21:52 +02:00