diff --git a/.forgejo/workflows/check.yml b/.forgejo/workflows/check.yml index 142bfe0..9f70100 100644 --- a/.forgejo/workflows/check.yml +++ b/.forgejo/workflows/check.yml @@ -1,28 +1,65 @@ on: push: jobs: - check: + check-fmt: runs-on: nixos steps: - - uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4 + - uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - run: nix --version - - name: Run checks + - name: Run treefmt run: | - nix-fast-build --max-jobs 2 --no-nom --skip-cached --no-link \ - --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)" - build-packages: + nix build --print-build-logs ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem).treefmt" + build-package: 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: - uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4 - run: nix --version - name: Build target + env: + PACKAGE: ${{ matrix.package }} run: | - nix-fast-build --max-jobs 1 --no-nom --skip-cached --no-link \ - --flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)" + # shellcheck disable=SC2016 + 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: runs-on: nixos - needs: build-packages + needs: + - build-package + - check-nvim steps: - uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4 - run: nix --version @@ -32,7 +69,6 @@ jobs: report-size: runs-on: nixos needs: - - build-packages - build-vm steps: - uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4 diff --git a/flake-modules/home-modules.nix b/flake-modules/home-modules.nix index 277a3cd..95db35a 100644 --- a/flake-modules/home-modules.nix +++ b/flake-modules/home-modules.nix @@ -6,7 +6,7 @@ flake.homeModules = let defaultModules = [ - inputs.nixvim.homeManagerModules.nixvim + inputs.nixvim.homeModules.nixvim self.nixvimModules.homeManager ../modules/hm ]; @@ -15,7 +15,7 @@ }; standalone = { imports = defaultModules ++ [ - inputs.stylix.homeManagerModules.stylix + inputs.stylix.homeModules.stylix ( { lib, config, ... }: lib.mkIf config.jhome.gui.enable { diff --git a/flake.lock b/flake.lock index 65e5faa..eda1b49 100644 --- a/flake.lock +++ b/flake.lock @@ -252,16 +252,16 @@ ] }, "locked": { - "lastModified": 1737371634, - "narHash": "sha256-fTVAWzT1UMm1lT+YxHuVPtH+DATrhYfea3B0MxG/cGw=", + "lastModified": 1748294338, + "narHash": "sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw=", "owner": "NuschtOS", "repo": "ixx", - "rev": "a1176e2a10ce745ff8f63e4af124ece8fe0b1648", + "rev": "cc5f390f7caf265461d4aab37e98d2292ebbdb85", "type": "github" }, "original": { "owner": "NuschtOS", - "ref": "v0.0.7", + "ref": "v0.0.8", "repo": "ixx", "type": "github" } @@ -353,11 +353,11 @@ ] }, "locked": { - "lastModified": 1745046075, - "narHash": "sha256-8v4y6k16Ra/fiecb4DxhsoOGtzLKgKlS+9/XJ9z0T2I=", + "lastModified": 1748298102, + "narHash": "sha256-PP11GVwUt7F4ZZi5A5+99isuq39C59CKc5u5yVisU/U=", "owner": "NuschtOS", "repo": "search", - "rev": "066afe8643274470f4a294442aadd988356a478f", + "rev": "f8a1c221afb8b4c642ed11ac5ee6746b0fe1d32f", "type": "github" }, "original": {