Skip to content

Commit

Permalink
Nomenclature & cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
htngr committed Mar 25, 2024
1 parent fa3a6ce commit 0f3feda
Show file tree
Hide file tree
Showing 109 changed files with 2,455 additions and 3,587 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/website.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: website
on:
push:
paths:
- 'static/website/**'
- 'docs/website/**'

permissions:
contents: write
Expand All @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: static/website
working-directory: docs/website
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
Expand All @@ -28,4 +28,4 @@ jobs:
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: static/website/result/
folder: docs/website/result/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
}:

let
# These are binaries which are required by WSL before controller
# These are binaries which are required by LXD / WSL before controller
# initialization. They are included in the controller.tar.gz
staticBinaries = with pkgsStatic; [
busybox
Expand Down Expand Up @@ -50,6 +50,7 @@ callPackage ../nix/make-tarball.nix {
contents = {
"/bin/" = toString (map (pkg: "${pkg}/bin/*") staticBinaries);
"/bin/run" = writeShellScript "run" ''
/bin/ctrl-update-certs
source /etc/profile.d/nix-daemon.sh
[ ! -d /tmp ] && mkdir /tmp
exec "$@"
Expand Down Expand Up @@ -107,10 +108,5 @@ callPackage ../nix/make-tarball.nix {
nixpkgs;
}];
});

"/root/.bash_profile" = writeText ".bashrc" ''
ctrl-update-certs
source /etc/profile.d/nix-daemon.sh
'';
};
}
4 changes: 3 additions & 1 deletion controller/default.nix → .old/controller/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
inherit nixpkgs;

preServeHook = ''
source /root/.bash_profile
/bin/ctrl-update-certs
source /etc/profile.d/nix-daemon.sh
[ ! -d /tmp ] && mkdir /tmp
syslogd
udhcpc -s /usr/share/udhcpc/default.script
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 0f3feda

Please sign in to comment.