nixcfg/.github/workflows/nix-build.yml
Aly Raffauf bf4e27048b
add pacifidlog (legion go) (#120)
* flake: add jovian input

* hosts/pacifidlog: add initial output and config

* pacifidlog: set jovian desktopSession to gamescope-wayland

* pacifidlog: use latest kernel

* github: add pacifidlog build

* pacifidlog: disable jovian

* pacifidlog: remove swapfile

* create pacifidlog hardware config

* pacifidlog: enable jovian

* secrets: add pacifidlog

* pacifidlog: add monitor settings

* pacifidlog/hyprland: map touch to screen transformation

* pacifidlog: set desktopSession to hyprland

* pacifidlog: fixup hyprland input settings

* secrets: add aly@pacifidlog and rekey

* pacifidlog: use lanzaboote

* pacifidog: disable steam desktop due to conficts with jovian

* pacifidlog: transform touch device in hyprland

* pacifidlog: enable tabletmode

* reformat

* pacifidlog: add legion module

* pacifidlog: set consoleMode to max

* pacifidlog: enable amdgpu in initrd

* lenovo/legion/go: disable legion module due to build failure

* accidentally changed petalburg :\

* pacifidlog: try consoleMode 1

* pacifidlog: add hdd-decky

* pacifidlog: disable missing plugins

* pacifidlog: run decky loader as root

* decky-loader: add python

* pacifidlog: clean up dekcy oader

* pacifidlog: set jovian has.amd.gpu = true

* legion go: add acpi_call

* add nix-gaming and jovian-nixos substituters

* pacifidlog: add hdd adjustor

* legion go: disable ppd

* pacifidlog: add hdd-ui

* pacifidlog: test systemd hhd-ui

* pacifidlog: add README

* cleanup before merge

* create pkgs/

* adjustor,hhd-ui: update to latest versions
2024-10-13 18:41:35 -04:00

136 lines
5 KiB
YAML

name: "nix-build"
on:
push:
paths-ignore:
- '**/*.md'
- '.github/**'
- '_img/**'
workflow_dispatch:
jobs:
default-build:
if: contains(github.event.head_commit.message, 'flake/') || contains(github.event.head_commit.message, 'flake.nix') || contains(github.event.head_commit.message, 'flake.lock')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build default package
run: nix build --accept-flake-config .#packages.x86_64-linux.default
fallarbor-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build fallarbor
run: nix build --accept-flake-config .#nixosConfigurations.fallarbor.config.system.build.toplevel
lavaridge-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build lavaridge
run: nix build --accept-flake-config .#nixosConfigurations.lavaridge.config.system.build.toplevel
mauville-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build mauville
run: nix build --accept-flake-config .#nixosConfigurations.mauville.config.system.build.toplevel
pacifidlog-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build pacifidlog
run: nix build --accept-flake-config .#nixosConfigurations.pacifidlog.config.system.build.toplevel
petalburg-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build petalburg
run: nix build --accept-flake-config .#nixosConfigurations.petalburg.config.system.build.toplevel
rustboro-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build rustboro
run: nix build --accept-flake-config .#nixosConfigurations.rustboro.config.system.build.toplevel
slateport-build:
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- uses: actions/checkout@main
with:
fetch-depth: 1
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@master
with:
name: alyraffauf
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build slateport
run: nix build --accept-flake-config .#nixosConfigurations.slateport.config.system.build.toplevel