Commit graph

37 commits

Author SHA1 Message Date
mjones-vsat
489c060d2e
nixpkgs: support buildPlatform, hostPlatform, and overlays (#184) 2025-01-10 15:47:22 +01:00
Pierre-Etienne Meunier
cb01c5c4dd
Allow nixpkgs to be configured via nixpkgs.config (#164) 2024-11-19 18:15:56 +01:00
phanirithvij
91323fb350 systemd: support systemd.tmpfiles.settings
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
2024-11-01 18:12:13 +05:30
Sofie
c099b40594
Squash of #136
https://github.com/numtide/system-manager/pull/136

Contents:

@r-vdp
Avoid rec
ac4a95a

@r-vdp
Avoid re-importing nixpkgs multiple times
21bd839

@r-vdp
Avoid building the application twice
8706306

@r-vdp
Run clippy as part of the check phase
ca50566

@r-vdp
flake.lock: Update
1d968fb

@r-vdp
Adapt systemd module after merge of NixOS/nixpkgs#311394
270e3f0

@r-vdp
Add nix-vm-test flake input
58dd3f9

@r-vdp
Merge remote-tracking branch 'origin/main' into reduce_flake_deps
a92a05f

@r-vdp
flake.lock: Update
9843716

Co-authored-by: r-vdp <ramses@well-founded.dev>
2024-10-29 11:55:28 +01:00
r-vdp
b05de14109
Adapt systemd module after merge of https://github.com/NixOS/nixpkgs/pull/311394 2024-10-19 20:31:06 +02:00
r-vdp
8441081b6b
Reformat with nixfmt 2024-09-30 11:59:31 +02:00
r-vdp
13cf3b4d34
Adapt to upstream systemd changes 2024-04-29 14:31:57 +02:00
r-vdp
4a8558119d
Add void option for compatibility with NixOS modules 2024-01-08 12:10:50 +01:00
Aaron Andersen
990d487e52 fixup: use types.attrs instead of the nonexistent types.freeform 2023-11-10 16:29:40 +00:00
r-vdp
e51a1d3ed0
Provide an implementation for systemd-tmpfiles.
Co-authored-by: aanderse <aaron@fosslib.net>
Co-authored-by: jfroche <jfroche@pyxel.be>
2023-10-12 11:16:37 +02:00
r-vdp
7ab72d8c7f
Add a pathsToLink option. 2023-07-05 14:33:42 +02:00
r-vdp
ce4b4bcf8b
Set the system path to a fixed location. 2023-07-05 14:33:42 +02:00
r-vdp
d5f138f939
Add support for environment.systemPackages. 2023-07-05 14:33:35 +02:00
r-vdp
46ecaad91e
Expose the config in the passthru and move values into the config. 2023-06-29 22:29:55 +02:00
r-vdp
ca46aa5ace
Don't create an nginx service by default. 2023-05-16 17:27:55 +02:00
r-vdp
8023bf4421
Remove unused service. 2023-05-16 17:27:28 +02:00
r-vdp
22684b6ed6 Introduce a framework for automated VM tests. 2023-04-27 02:01:53 +02:00
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