Commit Graph

14 Commits

Author SHA1 Message Date
Colin 3b5ff938ce flake: apply nixpatches/list.nix using the build patcher, not the emulated host patcher 2023-08-05 09:32:50 +00:00
Colin 9b2b261bd3 fix overlay application order so `cross` comes before `pkgs`
this lets me add new packages, and have them be emulated on moby builds
2023-05-24 03:57:35 +00:00
Colin 3bdbd9db7b `nixpkgs.hostPlatform`: set as default, to allow hosts to customize it later 2023-05-11 22:39:14 +00:00
Colin 8352d3aa8f overlays/pins.nix: split out the test fixes and only apply them on platforms where we're already building from source 2023-03-02 00:06:22 +00:00
Colin dfebedbd6c flake: make separate `cross` and `emulated` package sets (so i can build non-cross systems again) 2023-03-01 23:33:32 +00:00
Colin 15755a8a71 WIP: reduce emulated cross pkgset; aborted x86-x86 cross compilation 2023-02-21 01:25:42 +00:00
Colin bcfd8e1725 nit: remove trailing space 2023-02-05 19:35:34 +00:00
colin 038a9034d7 hosts: remove the is-target attribute and opt into roles via the config system instead 2023-01-20 00:13:13 +00:00
colin 9301b95dbb wg-home: move to shared module so that host and client config can be adjacent 2023-01-19 23:55:56 +00:00
colin d13bcc49ab refactor hosts directory, and move ssh keys out of modules/data
longer-term, i want hosts/by-name to define host-specific data
that's accessible via the other hosts (things like pubkeys).

also the secrets management needs some rethinking. there's really not
much point in me specifiying where *exactly* a secret comes from at its
use site. i should really be specifying secret store manifests; i.e.
"servo.yaml contains secrets X Y and Z", and leaving the rest up to
auto-computing.
2023-01-19 23:23:43 +00:00
colin bd5209c655 move cross compilation out of the flake and into the host definitions 2023-01-11 08:56:06 +00:00
colin 1d448a4114 migrate common settings from `hosts/{instantiate -> common/default}.nix` 2022-11-22 03:10:19 +00:00
colin 84a17f4599 move `hardware` out of `modules` into `hosts/common`
i want for `modules/` to behave like a more typical `modules` directory,
where functionality is opt-in.
2022-11-22 02:52:07 +00:00
colin 43fa7fdd9f rename `machines` -> `hosts`
- shorter.
- congruent with `nixos-rebuild .` choosing what to build based on `hostname`.
- more widely used within other nix repos i've seen.
- more accurate in the case that i migrate a host to a different
machine (which i plan to do with servo).
2022-11-22 02:33:47 +00:00