rebuild not working

This commit is contained in:
vali 2024-07-23 00:00:26 +02:00
commit 099612e335
13 changed files with 280 additions and 12 deletions

View file

@ -1 +1,12 @@
_: {imports = [./pipewire.nix ./ssh.nix ./greetd.nix ./dunst.nix ./mpd.nix ./firewall.nix ./vpn.nix];}
_: {
imports = [
./pipewire.nix
./locate.nix
./ssh.nix
./greetd.nix
./dunst.nix
./mpd.nix
./firewall.nix
./vpn.nix
];
}

View file

@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.modules.usrEnv.services.locate;
inherit (lib) mkIf;
in {
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [plocate];
services.locate = {
enable = true;
interval = "hourly";
package = pkgs.plocate;
localuser = null;
};
};
}