feat: move from npins to lon

This commit is contained in:
Luj 2024-09-10 15:07:35 +02:00
parent fd901ced40
commit 15a5e616c5
Signed by: luj
GPG key ID: 6FC74C847011FD83
7 changed files with 249 additions and 315 deletions

View file

@ -1,10 +1,11 @@
let
inputs = import ./deps;
inputs = import ./lon.nix;
pkgs = import inputs.unstable { };
nixos-anywhere = pkgs.callPackage "${inputs.nixos-anywhere}/src/default.nix" { };
agenix = pkgs.callPackage "${inputs.agenix}/pkgs/agenix.nix" { };
bootstrap = pkgs.callPackage scripts/bootstrap-machine.nix { inherit nixos-anywhere; };
update-deps = pkgs.callPackage scripts/update-deps.nix { };
lon = pkgs.callPackage "${inputs.lon}/nix/packages/lon.nix" { };
pre-commit-hook =
(import (
pkgs.applyPatches {
@ -36,6 +37,7 @@ pkgs.mkShell {
bootstrap
update-deps
pkgs.statix
lon
];
shellHook = ''
${pre-commit-hook.shellHook}