Compare commits
3 commits
ca6715ea78
...
7db5bbcef6
Author | SHA1 | Date | |
---|---|---|---|
7db5bbcef6 | |||
b69d163ec3 | |||
22efbecba6 |
3 changed files with 72 additions and 36 deletions
|
@ -1,28 +1,65 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check-fmt:
|
||||||
runs-on: nixos
|
runs-on: nixos
|
||||||
steps:
|
steps:
|
||||||
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
- run: nix --version
|
- run: nix --version
|
||||||
- name: Run checks
|
- name: Run treefmt
|
||||||
run: |
|
run: |
|
||||||
nix-fast-build --max-jobs 2 --no-nom --skip-cached --no-link \
|
nix build --print-build-logs ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem).treefmt"
|
||||||
--flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
|
build-package:
|
||||||
build-packages:
|
|
||||||
runs-on: nixos
|
runs-on: nixos
|
||||||
needs: check
|
needs: check-fmt
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
package:
|
||||||
|
- audiomenu
|
||||||
|
- docs
|
||||||
|
- docs-home-markdown
|
||||||
|
- docs-nixos-markdown
|
||||||
|
- docs-nvim-markdown
|
||||||
|
- jpassmenu
|
||||||
|
- nvim
|
||||||
|
- nvim-headless
|
||||||
|
- nvim-no-lsps
|
||||||
|
- nvim-no-ts
|
||||||
|
- nvim-small
|
||||||
|
- search
|
||||||
steps:
|
steps:
|
||||||
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
||||||
- run: nix --version
|
- run: nix --version
|
||||||
- name: Build target
|
- name: Build target
|
||||||
|
env:
|
||||||
|
PACKAGE: ${{ matrix.package }}
|
||||||
run: |
|
run: |
|
||||||
nix-fast-build --max-jobs 1 --no-nom --skip-cached --no-link \
|
# shellcheck disable=SC2016
|
||||||
--flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)"
|
nix build --print-build-logs ".#$PACKAGE"
|
||||||
|
check-nvim:
|
||||||
|
runs-on: nixos
|
||||||
|
needs: build-package
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
nvim:
|
||||||
|
- nvim
|
||||||
|
- nvim-headless
|
||||||
|
- nvim-no-lsps
|
||||||
|
- nvim-no-ts
|
||||||
|
- nvim-small
|
||||||
|
steps:
|
||||||
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
||||||
|
- run: nix --version
|
||||||
|
- name: Build target
|
||||||
|
env:
|
||||||
|
NVIM: ${{ matrix.nvim }}
|
||||||
|
run: |
|
||||||
|
nix build --print-build-logs ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem).$NVIM"
|
||||||
build-vm:
|
build-vm:
|
||||||
runs-on: nixos
|
runs-on: nixos
|
||||||
needs: build-packages
|
needs:
|
||||||
|
- build-package
|
||||||
|
- check-nvim
|
||||||
steps:
|
steps:
|
||||||
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
||||||
- run: nix --version
|
- run: nix --version
|
||||||
|
@ -32,7 +69,6 @@ jobs:
|
||||||
report-size:
|
report-size:
|
||||||
runs-on: nixos
|
runs-on: nixos
|
||||||
needs:
|
needs:
|
||||||
- build-packages
|
|
||||||
- build-vm
|
- build-vm
|
||||||
steps:
|
steps:
|
||||||
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
flake.homeModules =
|
flake.homeModules =
|
||||||
let
|
let
|
||||||
defaultModules = [
|
defaultModules = [
|
||||||
inputs.nixvim.homeManagerModules.nixvim
|
inputs.nixvim.homeModules.nixvim
|
||||||
self.nixvimModules.homeManager
|
self.nixvimModules.homeManager
|
||||||
../modules/hm
|
../modules/hm
|
||||||
];
|
];
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
};
|
};
|
||||||
standalone = {
|
standalone = {
|
||||||
imports = defaultModules ++ [
|
imports = defaultModules ++ [
|
||||||
inputs.stylix.homeManagerModules.stylix
|
inputs.stylix.homeModules.stylix
|
||||||
(
|
(
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
lib.mkIf config.jhome.gui.enable {
|
lib.mkIf config.jhome.gui.enable {
|
||||||
|
|
46
flake.lock
generated
46
flake.lock
generated
|
@ -226,11 +226,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747556831,
|
"lastModified": 1748226808,
|
||||||
"narHash": "sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc=",
|
"narHash": "sha256-GaBRgxjWO1bAQa8P2+FDxG4ANBVhjnSjBms096qQdxo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "d0bbd221482c2713cccb80220f3c9d16a6e20a33",
|
"rev": "83665c39fa688bd6a1f7c43cf7997a70f6a109f9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -252,16 +252,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737371634,
|
"lastModified": 1748294338,
|
||||||
"narHash": "sha256-fTVAWzT1UMm1lT+YxHuVPtH+DATrhYfea3B0MxG/cGw=",
|
"narHash": "sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "ixx",
|
"repo": "ixx",
|
||||||
"rev": "a1176e2a10ce745ff8f63e4af124ece8fe0b1648",
|
"rev": "cc5f390f7caf265461d4aab37e98d2292ebbdb85",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"ref": "v0.0.7",
|
"ref": "v0.0.8",
|
||||||
"repo": "ixx",
|
"repo": "ixx",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -328,11 +328,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748197130,
|
"lastModified": 1748261770,
|
||||||
"narHash": "sha256-WkUknPbMYFeusz3GKkhnklGF0r9bz4Z4bpU8h0t1Ddc=",
|
"narHash": "sha256-X+QUzjjZ64lZzzd1dkxIGoLHkJvmDqoEHhx81Mmx0rw=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "b37d429468c1f5133743e967caf97d92dc35ef5b",
|
"rev": "91ee94cde3d5fdde68550ac861fd0644ff47109f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -353,11 +353,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745046075,
|
"lastModified": 1748298102,
|
||||||
"narHash": "sha256-8v4y6k16Ra/fiecb4DxhsoOGtzLKgKlS+9/XJ9z0T2I=",
|
"narHash": "sha256-PP11GVwUt7F4ZZi5A5+99isuq39C59CKc5u5yVisU/U=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "search",
|
"repo": "search",
|
||||||
"rev": "066afe8643274470f4a294442aadd988356a478f",
|
"rev": "f8a1c221afb8b4c642ed11ac5ee6746b0fe1d32f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -410,11 +410,11 @@
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748029503,
|
"lastModified": 1748282308,
|
||||||
"narHash": "sha256-qHewVAhQ2kaZLHcO9lDzMeAGDFmbDd36kls7bi7HgMQ=",
|
"narHash": "sha256-pjNhKw3wdj4n1zQrTyuZjpTpr+ssQzG0EPeWMQr9gHo=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "df93f602dd8c84e7bd067654cc2f6422d5868496",
|
"rev": "c36cc92e08f1ce24a772d2f3ac9f049b963a07f0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -527,11 +527,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747912973,
|
"lastModified": 1748243702,
|
||||||
"narHash": "sha256-XgxghfND8TDypxsMTPU2GQdtBEsHTEc3qWE6RVEk8O0=",
|
"narHash": "sha256-9YzfeN8CB6SzNPyPm2XjRRqSixDopTapaRsnTpXUEY8=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "020cb423808365fa3f10ff4cb8c0a25df35065a3",
|
"rev": "1f3f7b784643d488ba4bf315638b2b0a4c5fb007",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -542,11 +542,11 @@
|
||||||
},
|
},
|
||||||
"unstable": {
|
"unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748107403,
|
"lastModified": 1748281463,
|
||||||
"narHash": "sha256-3W3+7hGHD71iQ1AApEhn07laT/LSmHQCiEJW3ggPnkI=",
|
"narHash": "sha256-0VFAX85s2QcFpcNVy7J4yn7j8Cn2IZADd1wsbT+1TYs=",
|
||||||
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
|
"rev": "62b852f6c6742134ade1abdd2a21685fd617a291",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-25.11pre804993.063f43f2dbde/nixexprs.tar.xz?rev=063f43f2dbdef86376cc29ad646c45c46e93234c"
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-25.11pre805967.62b852f6c674/nixexprs.tar.xz?rev=62b852f6c6742134ade1abdd2a21685fd617a291"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue