From 642d5274c882e431e219128a3cfe97dff3d678d0 Mon Sep 17 00:00:00 2001 From: leo60228 Date: Fri, 5 Jul 2024 15:51:22 -0400 Subject: [PATCH] flake-programs-sqlite --- components/extra.nix | 3 +++ flake.lock | 37 +++++++++++++++++++++++++++++++++++++ flake.nix | 4 ++++ 3 files changed, 44 insertions(+) diff --git a/components/extra.nix b/components/extra.nix index 692ba45..cf64352 100644 --- a/components/extra.nix +++ b/components/extra.nix @@ -7,6 +7,7 @@ lib.makeComponent "extra" ( cfg, pkgs, lib, + flakes, ... }: with lib; @@ -124,6 +125,8 @@ lib.makeComponent "extra" ( XDG_RUNTIME_DIR = "/run/user/${toString config.users.users.leo60228.uid}"; PIPEWIRE_CONFIG_NAME = "client-rt.conf"; }; + + programs.command-not-found.dbPath = flakes.flake-programs-sqlite.packages.${pkgs.system}.programs-sqlite; }; } ) diff --git a/flake.lock b/flake.lock index 33e348b..8cf3e26 100644 --- a/flake.lock +++ b/flake.lock @@ -77,6 +77,27 @@ "type": "github" } }, + "flake-programs-sqlite": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "utils": "utils" + }, + "locked": { + "lastModified": 1720186464, + "narHash": "sha256-U4KGZtpU7c5OThNn7yUNAeme/cai0/ld0zxn7BnREuw=", + "owner": "wamserma", + "repo": "flake-programs-sqlite", + "rev": "bdb334f833cd26524851b9f1bfab177d4116cbdd", + "type": "github" + }, + "original": { + "owner": "wamserma", + "repo": "flake-programs-sqlite", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1659877975, @@ -577,6 +598,7 @@ "inputs": { "colmena": "colmena", "fizz-strat": "fizz-strat", + "flake-programs-sqlite": "flake-programs-sqlite", "flake-utils": "flake-utils_4", "home-manager": "home-manager", "hydra": "hydra", @@ -882,6 +904,21 @@ "repo": "upd8r", "type": "github" } + }, + "utils": { + "locked": { + "lastModified": 1678901627, + "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 260f41b..4f34c09 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,10 @@ url = "github:zhaofengli/colmena"; inputs.nixpkgs.follows = "nixpkgs"; }; + inputs.flake-programs-sqlite = { + url = "github:wamserma/flake-programs-sqlite"; + inputs.nixpkgs.follows = "nixpkgs"; + }; outputs = {