Commit graph

312 commits

Author SHA1 Message Date
Daniel Barlow
696bbe6521 rename systemPackages as defaultProfile.packages
it doesn't work the same way as in nixos, so don't name it the same way
2022-09-27 16:47:42 +01:00
Daniel Barlow
4cbe669783 move make-image to subdirectory 2022-09-27 16:47:42 +01:00
Daniel Barlow
b7ff973b4b explain package/module distinction, add notes on side tracks 2022-09-27 14:11:23 +01:00
Daniel Barlow
e8880c199b allow overriding init 2022-09-27 14:06:39 +01:00
Daniel Barlow
e40a91fca0 move all remaining pseudofiles to base module 2022-09-27 14:06:07 +01:00
Daniel Barlow
797aa30c47 make s6-init-files into a module 2022-09-27 10:19:44 +01:00
Daniel Barlow
85f7f7293d add bin/init to s6-rc module
... which suggests it could be better named; init is from
s6-linux-init not s6-rc
2022-09-26 21:11:07 +01:00
Daniel Barlow
4c89e9aee6 add passwd and group in environment.etc 2022-09-26 21:02:10 +01:00
Daniel Barlow
a427b9da5e move s6-rc db creation to a module 2022-09-26 20:59:56 +01:00
Daniel Barlow
bd6cbd373f add config environment.etc which gets converted to pseudofiles 2022-09-26 20:46:28 +01:00
Daniel Barlow
09a9dba963 export "dir" and "symlink" from pseudofiles package 2022-09-26 18:27:43 +01:00
Daniel Barlow
1c14bb63fa callPackageify make-image.nix 2022-09-26 16:19:14 +01:00
Daniel Barlow
c6c6b51893 make s6-rc-database a package 2022-09-26 15:59:21 +01:00
Daniel Barlow
cd5afb22e7 remove static busybox 2022-09-26 14:46:06 +01:00
Daniel Barlow
d5ccecf038 make "shutdown" work
create a package for the s6-compatible shutdown/halt/poweroff
commands and put it on the path ahead of busybox
2022-09-26 14:13:23 +01:00
Daniel Barlow
2430e80ca1 todo 2022-09-26 13:45:16 +01:00
Daniel Barlow
7803eebfd4 add a "route" service 2022-09-26 13:44:40 +01:00
Daniel Barlow
676c94782b separate files for networking and services 2022-09-26 12:26:54 +01:00
Daniel Barlow
4bfba33170 handle case when ppp0 eists but is down 2022-09-26 12:11:44 +01:00
Daniel Barlow
f0024dcac5 check type of kernel config attrsets 2022-09-26 12:11:26 +01:00
Daniel Barlow
1b1aa9de76 much TODO about nothing 2022-09-26 11:47:11 +01:00
Daniel Barlow
9902d4052b add a type definiton for s6-rc modules 2022-09-26 11:46:09 +01:00
Daniel Barlow
cbee488d22 automated test for pppoe 2022-09-26 11:17:31 +01:00
Daniel Barlow
f3f51ac6be vmlinux: tidy up 2022-09-25 23:27:39 +01:00
Daniel Barlow
e29d009b2f make kernel builder callPackage'able 2022-09-25 22:02:45 +01:00
Daniel Barlow
a7e54c087c more style 2022-09-25 21:22:00 +01:00
Daniel Barlow
617355773e explain relationship with NixWRT 2022-09-25 21:21:27 +01:00
Daniel Barlow
5d51d15b86 working pppoe with readiness notification on ip-up 2022-09-25 21:12:50 +01:00
Daniel Barlow
47f8fa9797 write down things I'll forget otherwise 2022-09-25 21:11:34 +01:00
Daniel Barlow
a34a3ade08 make udhcp wait for its interface to be ready 2022-09-25 21:10:57 +01:00
Daniel Barlow
3677ab9cb3 move service state out of s6 scandir
getting weird permission errors, seems simpler all raound just to
put them somewhere else
2022-09-25 21:10:04 +01:00
Daniel Barlow
1d9f39bf87 support notification-fd file in longrun 2022-09-25 21:06:08 +01:00
Daniel Barlow
92e42f1d45 fix oneshot "up" and "down" files
they're supposed to be names of executables, not text of
shell scripts
2022-09-25 21:02:10 +01:00
Daniel Barlow
01aa423dad pkgs.writeAshScript is similar to writeShellScript but busybox 2022-09-25 20:50:20 +01:00
Daniel Barlow
3540f594b1 address service: rename addr->address & add prefixLength
these names are consistent with nixos
2022-09-25 16:51:13 +01:00
Daniel Barlow
0e73362a8c expose pkgs in default derivation 2022-09-25 13:18:26 +01:00
Daniel Barlow
0c25983c0b fix kconfig override
the default kconfig should be in a config stanza, not in the
default attr of the options stanza, otherwise it gets overridden
completely instead of merged
2022-09-25 13:17:21 +01:00
Daniel Barlow
c1835d97ee add pppoe 2022-09-25 11:54:31 +01:00
Daniel Barlow
c6e56b1637 merge-modules accepts >1 module 2022-09-25 11:52:02 +01:00
Daniel Barlow
887a4ff966 WIP introduce nixos module system for configuration 2022-09-25 11:10:22 +01:00
Daniel Barlow
0f999f9ae4 smoke test : remove temporary files afterwards 2022-09-24 21:13:15 +01:00
Daniel Barlow
8dd7bb958a improve qemu tooling, and document it 2022-09-24 21:03:26 +01:00
Daniel Barlow
aa589e8d6b two kinds of brain dump 2022-09-24 17:47:14 +01:00
Daniel Barlow
d284179272 script and README to start routeros configured for pppoe 2022-09-24 13:04:47 +01:00
Daniel Barlow
7a4314baee run-tests cd into each test directory before running it 2022-09-23 17:21:43 +01:00
Daniel Barlow
1bc8fd7873 remove trace output 2022-09-22 12:45:41 +01:00
Daniel Barlow
dd124e49dd udhcp: write service responses as outputs 2022-09-22 12:42:20 +01:00
Daniel Barlow
0b0efde12c tidy repo 2022-09-22 11:11:31 +01:00
Daniel Barlow
e46abbccca put liminix-tools in package overlay 2022-09-22 11:10:41 +01:00
Daniel Barlow
4eea1b1f18 delete noodling in readme 2022-09-22 00:11:58 +01:00