rebuild not working
This commit is contained in:
parent
ea816d5ef5
commit
099612e335
13 changed files with 280 additions and 12 deletions
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
19
modules/services/locate.nix
Normal file
19
modules/services/locate.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue