From 08d89e571bb6c052b5c8e8b1e65e706673fe3fa9 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Thu, 29 Dec 2022 10:08:41 -0600 Subject: [PATCH] workstation | enable mlocate --- workstation/configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/workstation/configuration.nix b/workstation/configuration.nix index 0d6a7b8..cc49ee9 100644 --- a/workstation/configuration.nix +++ b/workstation/configuration.nix @@ -97,7 +97,7 @@ users.users.don = { isNormalUser = true; description = "Don Harper"; - extraGroups = [ "networkmanager" "wheel" "scanner" "lp" "video" ]; + extraGroups = [ "networkmanager" "wheel" "scanner" "lp" "video" "mlocate" ]; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINd8AdVbQQ/Fmw+b9mI8EMYqIoRkwmSwAOtmlte3incL don@loki" ]; @@ -229,6 +229,11 @@ }; }; }; + services.locate = { + enable = true; + locate = pkgs.mlocate; + localuser = null; + }; nix.gc = { automatic = true; options = "-d";