From 0ac11166a8fb22d1ce4de111f46e8a3ba1de7663 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 20 Dec 2024 17:50:16 +0100 Subject: refactor(lib): Upstream `lib` to vhack.eu This allows to share it with the server config. --- flake.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 80f8bc35..b748e0aa 100644 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,10 @@ nixpkgs-tfc.url = "github:soispha/nixpkgs/add-termfilechooser"; nixpkgs-onlykey.url = "github:soispha/nixpkgs/fix-onlykey-agent"; + library = { + url = "git+https://git.vhack.eu/vhack.eu/nix-library?ref=prime"; + }; + # inputs for following nix-darwin = { url = "github:lnl7/nix-darwin"; @@ -192,6 +196,7 @@ }; }; lanzaboote = { + # TODO: Subscribe to their update feed. <2024-12-18> url = "github:nix-community/lanzaboote/v0.4.1"; inputs = { nixpkgs.follows = "nixpkgs-stable"; @@ -262,6 +267,7 @@ nixpkgs-stable, nixpkgs-tfc, nixpkgs-onlykey, + library, # modules home-manager, nixos-generators, @@ -285,7 +291,7 @@ system = "x86_64-linux"; sysLib = shell_library.lib.${system}; - nixLib = import ./lib {}; + inherit (library) nixLib; pkgsStable = nixpkgs-stable.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system}; -- cgit 1.4.1