Commit Graph

91 Commits

Author SHA1 Message Date
Ehmry - 532d6eec0f Use buildPackages where appropriate 2022-05-25 11:20:32 -05:00
Ehmry - 2033bd8af1 Deadnix cleanup
https://github.com/astro/deadnix
2022-04-24 18:20:39 -05:00
Ehmry - 9a12b98960 Cleanup 2022-04-24 18:20:39 -05:00
Ehmry - ad9261c0ac A bunch of unstaged stuff I found months later 2021-12-10 10:13:20 +00:00
Ehmry - 2e04927455 fixup remove subinits 2021-04-21 19:15:03 +02:00
Ehmry - 37d905ddd8 nixos: remove genode.init.subinits
This option was never used.
2021-04-21 10:49:28 +02:00
Ehmry - efa6cd7274 Add global imports to Dhall files 2021-04-21 09:59:27 +02:00
Ehmry - c7a64a59ef Update Gui for genodeSources update 2021-04-21 09:26:33 +02:00
Ehmry - f1759589ad Update dhall-sigil for consume, produceReports 2021-04-17 22:36:10 +02:00
Ehmry - fb35449420 nixos/gui: terminal is now a Gui client 2021-04-16 13:19:59 +02:00
Ehmry - 85a91fcaa2 fixup gui 2021-04-15 09:30:12 +02:00
Ehmry - bd0d34d99a nixos: support arbitrary child binaries
Allow child binaries to be ERIS URNs or otherwise arbitrary strings.
2021-04-15 09:28:52 +02:00
Ehmry - ac43ed395e nixos: fixup device manager USB stuff 2021-04-15 09:28:13 +02:00
Ehmry - 7ee13bad02 nixos: rewrite gui module 2021-04-15 09:26:06 +02:00
Ehmry - 48966025df Add /nix/store bck to store image 2021-04-15 09:24:15 +02:00
Ehmry - b01cea0fef fixup nixos: config.block.partitions.store.guid 2021-04-15 09:22:49 +02:00
Ehmry - 3d722d1d2a fixup consolidation of eris store 2021-04-15 09:22:28 +02:00
Ehmry - d43df20002 nixos: set priorityOffset on drivers 2021-04-15 09:18:19 +02:00
Ehmry - c8671b63d8 dhall-sigil: update for priority rename 2021-04-14 10:17:54 +02:00
Ehmry - e8f433559a nixos: remove systemd module 2021-04-13 13:59:23 +02:00
Ehmry - f5f54a2ec2 nixos: increase RAM in ERIS subsystem 2021-04-13 13:58:36 +02:00
Ehmry - 519d99af30 WiP! tor 2021-04-12 21:08:24 +02:00
Ehmry - 67fbe1ea9a fixup uplink drivers 2021-04-12 20:57:02 +02:00
Ehmry - 291cde7b4a nixos: configure Nic uplinks for genode.init.children
…not just genode.core.children.
2021-04-12 20:49:24 +02:00
Ehmry - 4d1d37a1ed nixos: set QEMU network options directly
Configure QEMU devices as drivers are configuration.
2021-04-12 20:46:21 +02:00
Ehmry - 56e66ea842 nixos: move /eris/* in store image to /
All the ERIS URNs are prefixed already.
2021-04-12 10:15:43 +02:00
Ehmry - 48dd5f1d38 WiP! tor 2021-04-10 17:11:43 +02:00
Ehmry - 99130d0f14 lib.generators.toDhall: match API with nixpkgs 2021-04-10 14:06:49 +02:00
Ehmry - 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
Ehmry - 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
Ehmry - 5ebe441c52 nixos: derived partition GUIDs 2021-04-07 15:21:00 +02:00
Ehmry - 192e9f1b7b Use ISO9660 for the ERIS store 2021-04-07 15:21:00 +02:00
Ehmry - e379d1214e nixos: normalize eris_rom declaration 2021-04-07 15:21:00 +02:00
Ehmry - 94c73172cb Rename dhall-genode to dhall-sigil 2021-04-07 15:21:00 +02:00
Ehmry - 5006257230 Put boot image into ESP 2021-04-07 15:19:37 +02:00
Ehmry - fe3e0da51d packages: add device_manager
A component for hardware detection and driver instantiation.
2021-04-07 15:19:36 +02:00
Ehmry - d85ba92b5a nixos: support for an empty second-level init 2021-04-06 11:17:00 +02:00
Ehmry - 4e8c8f8e73 nixos: add dump option to child uplinks 2021-03-18 13:13:10 +01:00
Ehmry - a91dda99d8 nixos: add uplink option to children
Add an option to genode.core.children and genode.init.children
for specifying a Nic driver for the exclusive use of the child
for which it is added. This mechanism is to support the nic_router
but it is reusable for arbitrary children.
2021-03-17 18:55:13 +01:00
Ehmry - de98f23758 nixos: replace store_rom with rom_eris 2021-03-17 18:06:22 +01:00
Ehmry - 165cf60551 nixos-modules: consolidate common init functions
The "config.genode.init.children" option is a superset of the
"config.genode.core.children" option, so refactor both into
helper functions.
2021-03-03 15:14:21 +01:00
Ehmry - 98175a0f9b fixup rump and ext2 image loading 2021-03-03 15:14:21 +01:00
Ehmry - 16cf8a8e62 fixup ext2 image generation 2021-03-03 15:14:21 +01:00
Ehmry - 7376302bcc Do not worry about the store closure in make-ext2-fs
Probably should worry about this.
2021-03-03 15:14:21 +01:00
Ehmry - 85a108bdb3 erisPatch nixos modules 2021-03-03 15:14:21 +01:00
Ehmry - 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
Ehmry - cc211e763a packages: transitive depot package dependencies
The buildDepot function now takes a "depotInputs" argument that
propagates "portInputs" and "depotInputs" across packages.

Drop the stdcxx package that includes a dev output and just use
the simple depot package for now.
2021-02-16 15:46:14 +01:00
Ehmry - 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
Ehmry - b77a91bc87 nixos-modules: boot packages from buildPackages.buildPackages 2021-02-06 21:41:24 +01:00
Ehmry - 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