update ci

This commit is contained in:
Jonathan Dönszelmann 2025-02-01 15:55:05 +01:00
parent d030ebe744
commit 76ed037b04
No known key found for this signature in database
11 changed files with 1278 additions and 55 deletions

View file

@ -32,6 +32,8 @@
inputs.nixpkgs-unstable.follows = "nixpkgs";
};
# sorry, secret... for now
noteslsp.url = "git+ssh://git@github.com/jdonszelmann/notes";
};
outputs =
@ -44,6 +46,7 @@
dumpasm,
jujutsu,
ghostty,
noteslsp,
...
}@inputs:
let
@ -61,6 +64,7 @@
inherit (dumpasm.packages.${system}) dumpasm;
inherit (jujutsu.packages.${system}) jujutsu;
inherit (ghostty.packages.${system}) ghostty;
inherit (noteslsp.packages.${system}) noteslsp;
};
})
];
@ -89,7 +93,8 @@
'')
(pkgs.writeShellScriptBin "apply-home" ''
nix run .#home-manager -- switch --flake .#$@
export NIX_BUILD_CORES=$(($(nproc) * 2))
nix run .#home-manager -j $NIX_BUILD_CORES --cores $NIX_BUILD_CORES -- switch --flake .#$@ --max-jobs $NIX_BUILD_CORES
'')
(pkgs.writeShellScriptBin "apply" ''