Skip to content

Commit

Permalink
+ action build livecd
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Dec 8, 2024
1 parent 2b0c095 commit ea42a90
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build-livecd.yaml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions hosts/livecd/additions.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
2 changes: 1 addition & 1 deletion misc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit ea42a90

Please sign in to comment.