Commit Graph

159 Commits

Author SHA1 Message Date
Emery Hemingway 2033bd8af1 Deadnix cleanup
https://github.com/astro/deadnix
2022-04-24 18:20:39 -05:00
Emery Hemingway 9a12b98960 Cleanup 2022-04-24 18:20:39 -05:00
Emery Hemingway ad9261c0ac A bunch of unstaged stuff I found months later 2021-12-10 10:13:20 +00:00
Emery Hemingway efa6cd7274 Add global imports to Dhall files 2021-04-21 09:59:27 +02:00
Emery Hemingway a92edb6330 fixup add services nixos module 2021-04-15 09:35:05 +02:00
Emery Hemingway d2f265f806 WiP graphics test: fuck the backdrop 2021-04-14 17:57:59 +02:00
Emery Hemingway 00dd21d0c2 fixup graphics test 2021-04-14 16:22:52 +02:00
Emery Hemingway c8671b63d8 dhall-sigil: update for priority rename 2021-04-14 10:17:54 +02:00
Emery Hemingway f5f54a2ec2 nixos: increase RAM in ERIS subsystem 2021-04-13 13:58:36 +02:00
Emery Hemingway 519d99af30 WiP! tor 2021-04-12 21:08:24 +02:00
Emery Hemingway 48dd5f1d38 WiP! tor 2021-04-10 17:11:43 +02:00
Emery Hemingway 4edc22e0fd fixup adding device manager to nixos-modules/default.nix
Do enable the device_manager without ahci or usb
2021-04-10 09:07:51 +02:00
Emery Hemingway cd1b95c1d7 nixos: rename genode.boot to genode.core
Have a "boot.…" and a "genode.boot.…" is confusing.
2021-04-09 16:39:06 +02:00
Emery Hemingway 94c73172cb Rename dhall-genode to dhall-sigil 2021-04-07 15:21:00 +02:00
Emery Hemingway 88668e8dd5 tests: add USB storage test 2021-04-07 15:20:59 +02:00
Emery Hemingway 139d056a36 nim: patch to print NimStringV2 2021-04-06 11:16:17 +02:00
Emery Hemingway de98f23758 nixos: replace store_rom with rom_eris 2021-03-17 18:06:22 +01:00
Emery Hemingway 4c0a6e94f4 Add inline documentation 2021-03-10 18:47:49 +01:00
Emery Hemingway 85a108bdb3 erisPatch nixos modules 2021-03-03 15:14:21 +01:00
Emery Hemingway 4a613364df Patch Nim compiler and standard library 2021-02-18 19:42:23 +01:00
Emery Hemingway 2afd2d08cc nixos: add genode.init.children.<…>.binary option
Require that all init children declared by Nix be declared with
an absolute path to the program binary.
2021-02-16 15:46:14 +01:00
Emery Hemingway 8379dccf12 Refer to program and library ROMs by store path
Retrieve ROMs in the common case by full store path. This reduces
the need for route policies for driving relative requests into
absolute package paths.

Making library requests by absolute path required libraries to be
stored in the core image as such, and it follows that program
binaries should be handled in the same way. This makes requests
to core and to a file-system store more consistent, and makes
dependency detection more robust.
2021-02-16 15:46:14 +01:00
Emery Hemingway 9c23c59044 nixos: rename store_fs to fs, cleanup
The file-system containing the nix store also acts as the main
file-system.
2021-02-01 15:36:29 +01:00
Emery Hemingway 8c0c7d55c4 nixos: config.genode.boot.storeBackend is "fs" or "memory"
Make the config.genode.boot.storeBackend option a choice between
a traditional file-system or memory-backed file-system image. Fix
GRUB booting when using a file-system store.

The nova-ahci test shows that this is working.
2021-02-01 13:37:28 +01:00
Emery Hemingway 6f9f1b7069 Replace lib.crossLists with lib.cartesianProductOfSets 2021-01-30 11:16:14 +01:00
Emery Hemingway 6cd7fc532c Remove networking test
The two interfaces test is broken. This started when the Nic
drivers were raised from the core children to the second-level
init.
2021-01-27 12:23:28 +01:00
Emery Hemingway 74ea4d0c12 nixos: add file-systems options 2021-01-21 12:25:08 +01:00
Emery Hemingway b15c1b6cea nixos: replace system.build.toplevel 2021-01-21 12:14:54 +01:00
Emery Hemingway b5d42cc711 nixos: move Nic drivers to core children 2021-01-12 12:56:45 +01:00
Emery Hemingway 07645a3930 nixos: boot from AHCI 2021-01-12 12:56:43 +01:00
Emery Hemingway 516736144b nixos: genode.init.children.<…>.routeToNics
Allow init children to route to Nic servers.
2021-01-12 12:56:22 +01:00
Emery Hemingway 7c3504d2d6 nixos-modules: add nix-store USB backend
Load the store from an EXT2 file-system from USB storage.
2021-01-12 10:27:25 +01:00
Emery Hemingway 32f1ee1fe7 Cleanup dead nixos-module code 2020-12-20 13:20:06 +01:00
Emery Hemingway 1c057662e6 tests/vmm_x86: need to request platform_info direct from core 2020-12-02 15:13:38 +01:00
Emery Hemingway d5c99500dc tests: remove solo5
Solo5 tests are broken by bad label handling in init.
2020-12-02 14:29:10 +01:00
Emery Hemingway f25f5115af Add hydraJobs to flake 2020-12-02 14:01:14 +01:00
Emery Hemingway 257696260c tests: use config.networking.hosts not networking.extraHosts
The latter is an opaque string but IP addresses can be extracted by
hostname from the former.
2020-12-02 13:07:01 +01:00
Emery Hemingway 80c7fbba10 tests/bash: fix free Libc variable in Dhall config 2020-12-02 13:06:34 +01:00
Emery Hemingway bb516f2da6 tests: add default timeout
Set a timeout at two minutes to catch tests that fail to boot.
2020-11-27 15:03:29 +01:00
Emery Hemingway 77e0aa3e05 Update Genode Labs sources 2020-11-27 15:03:29 +01:00
Emery Hemingway 57a093afea Update dhall-genode for Libc helper 2020-11-27 11:45:16 +01:00
Emery Hemingway 1dad7fa174 tests: add simple networking test
Just a test that pings one machine from another.
2020-11-13 15:21:04 +01:00
Emery Hemingway 9a8939dc1a nixos: cleanup networking, initialize eth0 during tests 2020-11-13 15:21:04 +01:00
Emery Hemingway f8df320507 nixos: add genode.init.coreROMs option
Explicitly specify ROMs that must route past the nix-store.
2020-11-13 15:21:04 +01:00
Emery Hemingway 233986e6bc nixos: do not set a default Nic driver
Setting a default driver will cause confusion later.
2020-11-13 15:03:33 +01:00
Emery Hemingway a2a152b68a tests: add Bash test
Test Bash and Coretuils from the Genode Labs ports.
2020-11-13 15:03:33 +01:00
Emery Hemingway df5be1d6dc Simplify packages layout 2020-11-13 15:03:32 +01:00
Emery Hemingway ddc65a8087 Refactor routing
Patch init to simplify routing. Update Dhall library and NixOS modules
accordingly.
2020-11-13 14:47:24 +01:00
Emery Hemingway ebf3606705 Port NixOS module system
Convert the tests to use the module system from NixOS.
2020-11-01 20:29:19 +01:00
Emery Hemingway f53eb6cd3b Update dhall-genode for policy-route changes 2020-10-23 10:16:24 +02:00