diff --git a/.github/workflows/build-livecd.yaml b/.github/workflows/build-livecd.yaml new file mode 100644 index 00000000..75bee171 --- /dev/null +++ b/.github/workflows/build-livecd.yaml @@ -0,0 +1,25 @@ +name: Livecd +on: + workflow_dispatch: + +jobs: + format: + name: build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@main + - name: Install Nix + uses: cachix/install-nix-action@v30 + - uses: DeterminateSystems/magic-nix-cache-action@main + - name: Build Livecd + run: | + nix build .#nixosConfigurations.livecd.config.system.build.isoImage + - name: Compress Build Craft + run: | + tar cvf "./$(date -I).tar" ./result/* + - uses: actions/upload-artifact@v4 + with: + path: ./*.tar + overwrite: true + retention-days: 7days diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index aa28efd7..2a2b72d4 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -14,6 +14,7 @@ jobs: uses: actions/checkout@v4 - name: Install Nix uses: cachix/install-nix-action@v30 + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Flake Check uses: DeterminateSystems/flake-checker-action@main - name: Fmt check diff --git a/hosts/livecd/additions.nix b/hosts/livecd/additions.nix index 2504f69f..e17b05c5 100644 --- a/hosts/livecd/additions.nix +++ b/hosts/livecd/additions.nix @@ -99,10 +99,10 @@ }; services = { - sing-box = { - enable = true; - configFile = lib.readToStore "/run/vaultix/sing"; - }; + # sing-box = { + # enable = true; + # configFile = lib.readToStore "/run/vaultix/sing"; + # }; pcscd.enable = true; openssh.enable = true; }; diff --git a/misc.nix b/misc.nix index 8540178c..9bc0f514 100755 --- a/misc.nix +++ b/misc.nix @@ -265,7 +265,7 @@ package = pkgs.nixVersions.stable; nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; channel.enable = false; - registry = lib.mapAttrs (_: value: { flake = value; }) inputs; + # registry = lib.mapAttrs (_: value: { flake = value; }) inputs; settings = { system-features = [