Skip to content

Commit

Permalink
A LOT! A LOTLOTLOTLOT OF THINGS! +ISO builds :3
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr committed Feb 24, 2024
1 parent 241ba7c commit ee29798
Show file tree
Hide file tree
Showing 26 changed files with 469 additions and 466 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build_iso.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "Build ISO"

on:
push:
workflow_dispatch:

jobs:
main:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v25
with:
nix_path: "nixpkgs=channel:nixos-unstable"
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'

- name: Build the ISO
env:
NIXPKGS_ALLOW_UNFREE: 1
run: |
nix run nixpkgs#nixos-generators -- --flake .#minix -f iso -o minix.iso
- name: Create a release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: iso-latest
prerelease: false
title: "Auto-generated ISO builds"
files: |
minix.iso
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Desktops

- **nixie** - daily driver laptop
- **minix** - minimal ISO builds

### Servers

Expand Down
4 changes: 4 additions & 0 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
- rofi (wofi?)

- Move color stuff from simplefox to schizofox

- wrapWine: logging files (~/.wine-nix/reaper/???)

- RELOAD TERMINALS VIEW BROWSER TABS
4 changes: 2 additions & 2 deletions core/bootloader.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ ... }: {
{ lib, ... }: {
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 3;

boot.loader.efi.canTouchEfiVariables = true;
boot.loader.timeout = 1;
boot.loader.timeout = lib.mkDefault 1;
}
1 change: 1 addition & 0 deletions core/syspackages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
htop
neofetch
file
dos2unix
];
}
134 changes: 78 additions & 56 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

generators.url = "github:nix-community/nixos-generators";
generators.inputs.nixpkgs.follows = "nixpkgs";

mrtnvgr = {
url = "github:mrtnvgr/nurpkgs";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -82,6 +85,7 @@

# Desktops
nixie = mkSystem "user" "nixie";
minix = mkSystem "user" "minix";

# Servers
cloud = mkSystem "user" "cloud";
Expand Down
Loading

0 comments on commit ee29798

Please sign in to comment.