From 2de95cbfaf0898b9c1c278c89a751af751f03929 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 18 Jul 2024 14:31:46 -0400 Subject: [PATCH] Revert "nix: Use flake-programs-sqlite for command-not-found" Would rather not deal with an additional flake input here to keep things simple. --- flake.lock | 37 ------------------------------------- flake.nix | 5 ----- modules/system.nix | 3 ++- 3 files changed, 2 insertions(+), 43 deletions(-) diff --git a/flake.lock b/flake.lock index dae2ed26..369a7740 100644 --- a/flake.lock +++ b/flake.lock @@ -130,27 +130,6 @@ "type": "github" } }, - "flake-programs-sqlite": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ], - "utils": "utils" - }, - "locked": { - "lastModified": 1721313750, - "narHash": "sha256-2QNLz4ZJgjadO+2QqG8EQlMMUwMt6B2nM9uCbOFpfg8=", - "owner": "wamserma", - "repo": "flake-programs-sqlite", - "rev": "9ce04c62b21a4f4251aaa661a60a7f9326867f54", - "type": "github" - }, - "original": { - "owner": "wamserma", - "repo": "flake-programs-sqlite", - "type": "github" - } - }, "fromYaml": { "flake": false, "locked": { @@ -238,7 +217,6 @@ }, "root": { "inputs": { - "flake-programs-sqlite": "flake-programs-sqlite", "home-manager": "home-manager", "mobile-nixos": "mobile-nixos", "nixpkgs": "nixpkgs", @@ -297,21 +275,6 @@ "repo": "stylix", "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 8dc910e4..c976fc36 100644 --- a/flake.nix +++ b/flake.nix @@ -24,11 +24,6 @@ url = "github:donovanglover/mobile-nixos"; flake = false; }; - - flake-programs-sqlite = { - url = "github:wamserma/flake-programs-sqlite"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; outputs = { self, nixpkgs, mobile-nixos, ... } @ attrs: diff --git a/modules/system.nix b/modules/system.nix index f483c733..8540b57b 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -11,7 +11,6 @@ in { imports = attrValues { inherit (nix-config.inputs.home-manager.nixosModules) home-manager; - inherit (nix-config.inputs.flake-programs-sqlite.nixosModules) programs-sqlite; }; options.modules.system = { @@ -261,5 +260,7 @@ in gnome.excludePackages = with pkgs; [ gnome-tour ]; }; + + programs.command-not-found.enable = false; }; }