Commit graph

20 commits

Author SHA1 Message Date
r-vdp
db9ba03678 Introduce an intermediate target for systemd services.
Restarting the active targets seems to cause issues on Ubuntu,
restarting certain targets causes the display manager to exit.
2023-04-27 00:21:59 +02:00
r-vdp
29c967209a
Enable the upstream nginx module from nixpkgs. 2023-04-13 12:16:19 +02:00
r-vdp
6f74507684
Set the nixpkgs platform as a module option. 2023-03-28 14:51:16 +02:00
r-vdp
6c318867c1
Formatting. 2023-03-24 16:35:57 +01:00
r-vdp
015935f46e
Move the test module into a separate dir. 2023-03-24 16:35:02 +01:00
r-vdp
ce4cf7149d
Major overhaul of the nix side of things, part II. 2023-03-24 16:03:20 +01:00
r-vdp
9759c2da12
Major overhaul of the nix side of things. 2023-03-24 14:14:20 +01:00
r-vdp
84a4ddac1e
Allow to easily override the assertion for supported distros. 2023-03-23 14:57:18 +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
19edbdddb1
Add an assertion to make sure that the services passed to systemd-manager exist. 2023-03-22 11:56:58 +01:00
r-vdp
58353436c2
Complete rework of the systemd logic. 2023-03-21 16:14:12 +01:00
R-VdP
cf91b29724
WIP 2023-03-08 00:24:10 +01:00
R-VdP
e2f386c21e
Set stateVersion by default. 2023-02-15 15:12:39 +01:00
R-VdP
40c413d25a
Set defaults for the system-manager options. 2023-02-15 15:11:44 +01:00
R-VdP
b3c7f71456
Implement files under /etc 2023-02-13 20:24:23 +01: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
c7a481976d
Create more services to test activation logic. 2023-02-07 23:19:25 +00:00
Jean-François Roche
add2910abf
Fix formatting using nixpgks-fmt 2023-02-02 00:55:37 +01:00
R-VdP
929da3e3c3
Move nix code under nix/ 2023-02-01 17:39:07 +00:00