Compare commits
1 commit
7db5bbcef6
...
ca6715ea78
Author | SHA1 | Date | |
---|---|---|---|
ca6715ea78 |
3 changed files with 20 additions and 56 deletions
|
@ -1,65 +1,28 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
check-fmt:
|
check:
|
||||||
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 treefmt
|
- name: Run checks
|
||||||
run: |
|
run: |
|
||||||
nix build --print-build-logs ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem).treefmt"
|
nix-fast-build --max-jobs 2 --no-nom --skip-cached --no-link \
|
||||||
build-package:
|
--flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
|
||||||
|
build-packages:
|
||||||
runs-on: nixos
|
runs-on: nixos
|
||||||
needs: check-fmt
|
needs: check
|
||||||
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: |
|
||||||
# shellcheck disable=SC2016
|
nix-fast-build --max-jobs 1 --no-nom --skip-cached --no-link \
|
||||||
nix build --print-build-logs ".#$PACKAGE"
|
--flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)"
|
||||||
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:
|
needs: build-packages
|
||||||
- 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
|
||||||
|
@ -69,6 +32,7 @@ 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.homeModules.nixvim
|
inputs.nixvim.homeManagerModules.nixvim
|
||||||
self.nixvimModules.homeManager
|
self.nixvimModules.homeManager
|
||||||
../modules/hm
|
../modules/hm
|
||||||
];
|
];
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
};
|
};
|
||||||
standalone = {
|
standalone = {
|
||||||
imports = defaultModules ++ [
|
imports = defaultModules ++ [
|
||||||
inputs.stylix.homeModules.stylix
|
inputs.stylix.homeManagerModules.stylix
|
||||||
(
|
(
|
||||||
{ lib, config, ... }:
|
{ lib, config, ... }:
|
||||||
lib.mkIf config.jhome.gui.enable {
|
lib.mkIf config.jhome.gui.enable {
|
||||||
|
|
14
flake.lock
generated
14
flake.lock
generated
|
@ -252,16 +252,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748294338,
|
"lastModified": 1737371634,
|
||||||
"narHash": "sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw=",
|
"narHash": "sha256-fTVAWzT1UMm1lT+YxHuVPtH+DATrhYfea3B0MxG/cGw=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "ixx",
|
"repo": "ixx",
|
||||||
"rev": "cc5f390f7caf265461d4aab37e98d2292ebbdb85",
|
"rev": "a1176e2a10ce745ff8f63e4af124ece8fe0b1648",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"ref": "v0.0.8",
|
"ref": "v0.0.7",
|
||||||
"repo": "ixx",
|
"repo": "ixx",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -353,11 +353,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748298102,
|
"lastModified": 1745046075,
|
||||||
"narHash": "sha256-PP11GVwUt7F4ZZi5A5+99isuq39C59CKc5u5yVisU/U=",
|
"narHash": "sha256-8v4y6k16Ra/fiecb4DxhsoOGtzLKgKlS+9/XJ9z0T2I=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "search",
|
"repo": "search",
|
||||||
"rev": "f8a1c221afb8b4c642ed11ac5ee6746b0fe1d32f",
|
"rev": "066afe8643274470f4a294442aadd988356a478f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue