Commit graph

42 commits

Author SHA1 Message Date
bryango
69dd053da3
flake.nix: add workaround for ipetkov/crane#385
See:
- https://github.com/ipetkov/crane/issues/385
- c632217451
2023-10-02 14:27:57 +08:00
r-vdp
1c92494197
Make package dependencies overridable. 2023-07-01 00:56:43 +02:00
r-vdp
2b8e3c15b1
Add an unwrapped system-manager attribute. 2023-06-30 13:59:30 +02:00
r-vdp
425a796daa
Revert "Specify the systems through a flake input."
The flake input does not seem to work well with garnix.

This reverts commit 7db9cbff4e.
2023-05-31 13:38:04 +02:00
r-vdp
7db9cbff4e
Specify the systems through a flake input. 2023-05-31 10:22:20 +02:00
r-vdp
39995e4102
Add nix to the runtime path. 2023-05-16 11:47:52 +02:00
Ramses
f4c58ce90b
Fix handling of the --store argument. (#12) 2023-05-12 16:04:24 +02:00
r-vdp
39bcc3643c
Remove unused input override. 2023-05-12 15:55:15 +02:00
Ramses
af43744006
Add Aarch64 tests and include multiple test images. (#9) 2023-04-27 14:57:00 +02:00
r-vdp
22684b6ed6 Introduce a framework for automated VM tests. 2023-04-27 02:01:53 +02:00
r-vdp
40597a9540
Add the nixosModules special arg. 2023-04-13 12:12:41 +02:00
r-vdp
36b67321c0
Run cargo tests as part of CI. 2023-03-27 19:21:22 +02:00
r-vdp
1f5cf750e5
Put the test code in a separate flake. 2023-03-27 15:55:19 +02:00
r-vdp
197852e599
Refactor. 2023-03-24 17:03:33 +01:00
r-vdp
92ac83f22a
We can just stringify the normal nixpkgs flake. 2023-03-24 17:02:59 +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
15dd869682
Move the systemsConfigs key so that every entry defines its system. Determine flake attrs automatically. 2023-03-14 20:37:35 +01:00
R-VdP
5ccc6b1bba
Remove nix-filter input. 2023-03-14 20:36:29 +01:00
R-VdP
acb47a0c0a
Use latest stable for now. 2023-03-10 21:12:59 +01:00
R-VdP
0c072cadce
Adapt to numtide/devshell#247 2023-03-05 21:28:55 +01:00
R-VdP
62dd6e21d1
Fix nix package name. 2023-02-15 14:20:03 +01:00
R-VdP
cf7d0f76d3
Fix the makeServiceConfig function. 2023-02-14 13:39:10 +01:00
R-VdP
b3c7f71456
Implement files under /etc 2023-02-13 20:24:23 +01:00
R-VdP
fc6909bbc7
Using systemdMinimal takes care of other native build deps. 2023-02-10 12:56:55 +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
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
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
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
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