Commit graph

64 commits

Author SHA1 Message Date
r-vdp
f6ae6d0ee8
Add an option for the toplevel derivation 2025-02-03 17:10:39 +01:00
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
Sofie
f64a24f727
feat: nixpkgs-ify and unflake-ify system-manager 2024-10-29 11:25:16 +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
4cc8d306b4
Use nix-vm-test for our tests 2024-04-29 14:28:49 +02:00
r-vdp
4a8558119d
Add void option for compatibility with NixOS modules 2024-01-08 12:10:50 +01:00
r-vdp
107ed51c8e
Drop support for old test-driver 2024-01-08 12:10:30 +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
fc7ea5814d
Change name of driverInteractive option to match nixpkgs. 2023-10-12 11:16:50 +02: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
b5ac42f1bd
Move test image definitions to a separate file. 2023-09-12 11:58:36 +02:00
r-vdp
2368eec16e
Use the lib functions to (de)activate profiles. 2023-07-05 14:58:06 +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
e11571b70c
Add a comment. 2023-07-01 00:18:39 +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
9403324ea4
Register store paths in the nix DB at bootup of the VM. 2023-06-06 01:26:19 +02:00
r-vdp
cecf202ff4
Fix the logic to apply the test-driver patch only when needed. 2023-05-25 18:37:50 +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
3ed3a26b56
Only apply the test-driver patch if nixpkgs doesn't have it yet. 2023-05-15 20:00:39 +02:00
r-vdp
8ec989863d
Improve naming and error reporting in VM tests. 2023-05-09 10:20:30 +02:00
Ramses
cead991210
Add a pre-populate subcommand. (#11) 2023-05-08 18:35:43 +02:00
r-vdp
9254ace18f
Make the backdoor service survive systemctl isolate. 2023-05-08 18:30:02 +02:00
r-vdp
39d298626d
Only include enabled units in the services.json file. 2023-05-08 18:28:06 +02:00
r-vdp
9bef20370c
Fix comment + indentation. 2023-05-06 23:49:04 +02:00
r-vdp
e9b8d19307
Use stable URLs for the ubuntu test images. 2023-05-06 23:43:50 +02:00
Ramses
af43744006
Add Aarch64 tests and include multiple test images. (#9) 2023-04-27 14:57:00 +02:00
r-vdp
9b62e4668b Carry a patch for the test driver instead of vendoring all the code. 2023-04-27 02:01:53 +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
40597a9540
Add the nixosModules special arg. 2023-04-13 12:12:41 +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
6a7910bab1
Avoid an unneeded extra "etc" directory. 2023-03-17 15:47:56 +01:00
R-VdP
daae141949
Add WantedBy and RequiredBy to the JSON file produced by Nix. 2023-03-15 20:43:50 +01:00