Compare commits
1 Commits
polecat/fu
...
8059654d3a
| Author | SHA1 | Date | |
|---|---|---|---|
| 8059654d3a |
@@ -18,50 +18,3 @@ jobs:
|
|||||||
run: nix flake check
|
run: nix flake check
|
||||||
env:
|
env:
|
||||||
NIX_CONFIG: "access-tokens = git.johnogle.info=${{ secrets.GITEA_ACCESS_TOKEN }}"
|
NIX_CONFIG: "access-tokens = git.johnogle.info=${{ secrets.GITEA_ACCESS_TOKEN }}"
|
||||||
|
|
||||||
build-and-cache:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: check
|
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
machine:
|
|
||||||
- nix-book
|
|
||||||
- boxy
|
|
||||||
- zix790prors
|
|
||||||
- nix-deck
|
|
||||||
- john-endesktop
|
|
||||||
- live-usb
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- uses: https://git.johnogle.info/johno/gitea-actions/nix-setup@v1
|
|
||||||
|
|
||||||
- name: Build ${{ matrix.machine }}
|
|
||||||
id: build
|
|
||||||
run: |
|
|
||||||
OUT_PATH=$(nix build .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel --no-link --print-out-paths)
|
|
||||||
echo "out_path=$OUT_PATH" >> "$GITHUB_OUTPUT"
|
|
||||||
env:
|
|
||||||
NIX_CONFIG: "access-tokens = git.johnogle.info=${{ secrets.GITEA_ACCESS_TOKEN }}"
|
|
||||||
|
|
||||||
- name: Sign and push to cache
|
|
||||||
run: |
|
|
||||||
# Write signing key
|
|
||||||
echo "${{ secrets.NIX_SIGNING_KEY }}" > /tmp/signing-key
|
|
||||||
chmod 600 /tmp/signing-key
|
|
||||||
|
|
||||||
# Sign the closure
|
|
||||||
nix store sign --key-file /tmp/signing-key -r "${{ steps.build.outputs.out_path }}"
|
|
||||||
|
|
||||||
# Setup SSH key for cache push
|
|
||||||
mkdir -p ~/.ssh
|
|
||||||
echo "${{ secrets.CACHE_SSH_KEY }}" > ~/.ssh/cache_key
|
|
||||||
chmod 600 ~/.ssh/cache_key
|
|
||||||
ssh-keyscan -H ${{ secrets.CACHE_HOST }} >> ~/.ssh/known_hosts 2>/dev/null || true
|
|
||||||
|
|
||||||
# Push to cache
|
|
||||||
nix copy --to "ssh-ng://${{ secrets.CACHE_USER }}@${{ secrets.CACHE_HOST }}?ssh-key=$HOME/.ssh/cache_key" "${{ steps.build.outputs.out_path }}"
|
|
||||||
env:
|
|
||||||
NIX_CONFIG: "access-tokens = git.johnogle.info=${{ secrets.GITEA_ACCESS_TOKEN }}"
|
|
||||||
|
|||||||
25
flake.lock
generated
25
flake.lock
generated
@@ -8,17 +8,17 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769840331,
|
"lastModified": 1770356420,
|
||||||
"narHash": "sha256-Yp0K4JoXX8EcHp1juH4OZ7dcCmkopDu4VvAgZEOxgL8=",
|
"narHash": "sha256-a3qwWQOo/lHxJsjW9ycciWLCfatZoHlZghj+iYoQmuo=",
|
||||||
"owner": "steveyegge",
|
"owner": "steveyegge",
|
||||||
"repo": "beads",
|
"repo": "beads",
|
||||||
"rev": "93965b4abeed920a4701e03571d1b6bb75810722",
|
"rev": "c9f68c2ba99f40693cd5be5e1d0def8e93ac3429",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "steveyegge",
|
"owner": "steveyegge",
|
||||||
"repo": "beads",
|
"repo": "beads",
|
||||||
"rev": "93965b4abeed920a4701e03571d1b6bb75810722",
|
"rev": "c9f68c2ba99f40693cd5be5e1d0def8e93ac3429",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -258,22 +258,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-qt": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1770464364,
|
|
||||||
"narHash": "sha256-z5NJPSBwsLf/OfD8WTmh79tlSU8XgIbwmk6qB1/TFzY=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "23d72dabcb3b12469f57b37170fcbc1789bd7457",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-25.11",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1769170682,
|
"lastModified": 1769170682,
|
||||||
@@ -363,7 +347,6 @@
|
|||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
"nix-doom-emacs-unstraightened": "nix-doom-emacs-unstraightened",
|
"nix-doom-emacs-unstraightened": "nix-doom-emacs-unstraightened",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-qt": "nixpkgs-qt",
|
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"perles": "perles",
|
"perles": "perles",
|
||||||
"plasma-manager": "plasma-manager",
|
"plasma-manager": "plasma-manager",
|
||||||
|
|||||||
10
flake.nix
10
flake.nix
@@ -4,9 +4,6 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
# Separate nixpkgs for qt5webengine-dependent packages (jellyfin-media-player, etc.)
|
|
||||||
# Updates on separate Renovate schedule to avoid massive qt rebuilds
|
|
||||||
nixpkgs-qt.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
||||||
|
|
||||||
nix-darwin = {
|
nix-darwin = {
|
||||||
url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
|
url = "github:nix-darwin/nix-darwin/nix-darwin-25.11";
|
||||||
@@ -48,7 +45,7 @@
|
|||||||
beads = {
|
beads = {
|
||||||
# v0.49.1 has dolt server mode support (gt-1mf.3)
|
# v0.49.1 has dolt server mode support (gt-1mf.3)
|
||||||
# Pinned to 259ddd92 - uses Go 1.24 compatible with nixpkgs
|
# Pinned to 259ddd92 - uses Go 1.24 compatible with nixpkgs
|
||||||
url = "github:steveyegge/beads/93965b4abeed920a4701e03571d1b6bb75810722";
|
url = "github:steveyegge/beads/c9f68c2ba99f40693cd5be5e1d0def8e93ac3429";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -79,11 +76,6 @@
|
|||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
overlays = unstableOverlays;
|
overlays = unstableOverlays;
|
||||||
};
|
};
|
||||||
# Separate nixpkgs for qt5webengine-heavy packages to avoid rebuild churn
|
|
||||||
qt-pinned = import inputs.nixpkgs-qt {
|
|
||||||
system = prev.stdenv.hostPlatform.system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
custom = prev.callPackage ./packages {};
|
custom = prev.callPackage ./packages {};
|
||||||
# Compatibility: bitwarden renamed to bitwarden-desktop in unstable
|
# Compatibility: bitwarden renamed to bitwarden-desktop in unstable
|
||||||
bitwarden-desktop = prev.bitwarden-desktop or prev.bitwarden;
|
bitwarden-desktop = prev.bitwarden-desktop or prev.bitwarden;
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
home.roles = {
|
home.roles = {
|
||||||
base.enable = true;
|
base.enable = true;
|
||||||
plasma-manager-kodi.enable = true;
|
plasma-manager-kodi.enable = true;
|
||||||
kdeconnect.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"lockFileMaintenance": {
|
"lockFileMaintenance": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"schedule": [
|
"schedule": [
|
||||||
"after 2pm and before 4pm on Saturday"
|
"before 5am on monday"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
@@ -37,9 +37,6 @@
|
|||||||
"/^nixpkgs$/",
|
"/^nixpkgs$/",
|
||||||
"/^home-manager$/",
|
"/^home-manager$/",
|
||||||
"/^nix-darwin$/"
|
"/^nix-darwin$/"
|
||||||
],
|
|
||||||
"schedule": [
|
|
||||||
"after 2pm and before 4pm on Saturday"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -51,21 +48,6 @@
|
|||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
"/nixpkgs-unstable/",
|
"/nixpkgs-unstable/",
|
||||||
"/home-manager-unstable/"
|
"/home-manager-unstable/"
|
||||||
],
|
|
||||||
"schedule": [
|
|
||||||
"after 2pm and before 4pm on Saturday"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "nixpkgs-qt updates on Saturday (staggered from main ecosystem)",
|
|
||||||
"matchManagers": [
|
|
||||||
"nix"
|
|
||||||
],
|
|
||||||
"matchPackageNames": [
|
|
||||||
"/nixpkgs-qt/"
|
|
||||||
],
|
|
||||||
"schedule": [
|
|
||||||
"after 4pm and before 6pm on Saturday"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user