From b56510dbbf04cf2e6ad9655c8fbc63b2e266ac8e Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 29 Mar 2021 14:01:46 +0800 Subject: [PATCH] nixops: fix command-not-found --- nixops/desktop.nix | 1 + nixops/light.nix | 1 + nixops/rpi-server.nix | 1 + nixops/rpi.nix | 1 + 4 files changed, 4 insertions(+) diff --git a/nixops/desktop.nix b/nixops/desktop.nix index 1a45f99..89bb998 100644 --- a/nixops/desktop.nix +++ b/nixops/desktop.nix @@ -7,6 +7,7 @@ in { deployment.targetHost = host; nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; + programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; imports = [ diff --git a/nixops/light.nix b/nixops/light.nix index 73f5563..eb5e35f 100644 --- a/nixops/light.nix +++ b/nixops/light.nix @@ -7,6 +7,7 @@ in { deployment.targetHost = host; nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; + programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; imports = [ diff --git a/nixops/rpi-server.nix b/nixops/rpi-server.nix index 8ea67c7..c076309 100644 --- a/nixops/rpi-server.nix +++ b/nixops/rpi-server.nix @@ -4,6 +4,7 @@ { deployment.targetHost = host; nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; + programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; nixpkgs.system = "aarch64-linux"; boot.loader.grub.enable = false; diff --git a/nixops/rpi.nix b/nixops/rpi.nix index 5ea4e7e..2afdc61 100644 --- a/nixops/rpi.nix +++ b/nixops/rpi.nix @@ -7,6 +7,7 @@ in { deployment.targetHost = host; nix.nixPath = [ "nixpkgs=${pkgs.path}" ]; + programs.command-not-found.dbPath = "${pkgs.path}/programs.sqlite"; nixpkgs.system = "aarch64-linux"; boot.loader.grub.enable = false;