workstation | enable mlocate

This commit is contained in:
Don Harper 2022-12-29 10:08:41 -06:00
parent ee11a6bf93
commit 08d89e571b

View file

@ -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";