mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-26 21:50:44 -06:00
Compare commits
4 commits
194f86fdc2
...
cc9cc45067
Author | SHA1 | Date | |
---|---|---|---|
cc9cc45067 | |||
ff4ab8b397 | |||
55b0e588e1 | |||
fdc7fe80d5 |
5 changed files with 88 additions and 1 deletions
45
.github/workflows/on-demand.yml
vendored
Normal file
45
.github/workflows/on-demand.yml
vendored
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
name: Build NixOS (on demand)
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
host:
|
||||||
|
description: 'host name to build'
|
||||||
|
required: true
|
||||||
|
default: 'othalan'
|
||||||
|
type: string
|
||||||
|
lockFile:
|
||||||
|
description: 'flake.lock file'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
# free up some space
|
||||||
|
- run: sudo rm -rf /opt&
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install Nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||||
|
|
||||||
|
- uses: cachix/cachix-action@v14
|
||||||
|
with:
|
||||||
|
name: daylin
|
||||||
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
|
|
||||||
|
- name: write lock file
|
||||||
|
run: |
|
||||||
|
echo '${{ inputs.lockFile }}' > flake.lock
|
||||||
|
git diff
|
||||||
|
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
nix run . --accept-flake-config -- cache --host "${{ inputs.host }}" --flake .
|
39
flake.lock
39
flake.lock
|
@ -625,6 +625,44 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pixi": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"pixi-source": "pixi-source"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1716407993,
|
||||||
|
"narHash": "sha256-PepVzzmXTZc5FNjU7qtLgmCaQC0jWcKbBFwFPSSLT48=",
|
||||||
|
"owner": "daylinmorgan",
|
||||||
|
"repo": "pixi-flake",
|
||||||
|
"rev": "89505eb8e06e18e207cb647892df4f524654ba64",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "daylinmorgan",
|
||||||
|
"repo": "pixi-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"pixi-source": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1715601530,
|
||||||
|
"narHash": "sha256-fTASWWvqaBn4XH7FL0fhdSphKFKhIOddKwsbDmln1g8=",
|
||||||
|
"owner": "prefix-dev",
|
||||||
|
"repo": "pixi",
|
||||||
|
"rev": "c6d5bafdef8125a696294a1c6260bd69a614fd89",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "prefix-dev",
|
||||||
|
"ref": "v0.22.0",
|
||||||
|
"repo": "pixi",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"f1multiviewer": "f1multiviewer",
|
"f1multiviewer": "f1multiviewer",
|
||||||
|
@ -635,6 +673,7 @@
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs_5",
|
"nixpkgs": "nixpkgs_5",
|
||||||
"nixpkgs-wayland": "nixpkgs-wayland",
|
"nixpkgs-wayland": "nixpkgs-wayland",
|
||||||
|
"pixi": "pixi",
|
||||||
"stable": "stable",
|
"stable": "stable",
|
||||||
"tsm": "tsm",
|
"tsm": "tsm",
|
||||||
"zig2nix": "zig2nix",
|
"zig2nix": "zig2nix",
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
zls.inputs.nixpkgs.follows = "nixpkgs";
|
zls.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
f1multiviewer.url = "github:daylinmorgan/f1multiviewer-flake";
|
f1multiviewer.url = "github:daylinmorgan/f1multiviewer-flake";
|
||||||
|
|
||||||
|
pixi.url = "github:daylinmorgan/pixi-flake";
|
||||||
|
pixi.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
|
|
|
@ -11,6 +11,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = defaultOverlays ++ [
|
nixpkgs.overlays = defaultOverlays ++ [
|
||||||
|
inputs.pixi.overlays.default
|
||||||
(final: _prev: {
|
(final: _prev: {
|
||||||
stable = import inputs.stable {
|
stable = import inputs.stable {
|
||||||
system = final.system;
|
system = final.system;
|
||||||
|
|
1
todo.md
1
todo.md
|
@ -8,7 +8,6 @@
|
||||||
| kernel: ucsi_acpi USBC000:00: possible UCSI driver bug 2
|
| kernel: ucsi_acpi USBC000:00: possible UCSI driver bug 2
|
||||||
| kernel: ucsi_acpi USBC000:00: error -EINVAL: PPM init failed
|
| kernel: ucsi_acpi USBC000:00: error -EINVAL: PPM init failed
|
||||||
|
|
||||||
- [ ] trackdown wezterm clipboard problem (wayland/wezterm/hyprland?)
|
|
||||||
- [ ] make desktop application file for win10 vm
|
- [ ] make desktop application file for win10 vm
|
||||||
|
|
||||||
<!-- generated with <3 by daylinmorgan/todo -->
|
<!-- generated with <3 by daylinmorgan/todo -->
|
||||||
|
|
Loading…
Reference in a new issue