Serenity/modules/core/services.nix
Serenity-F c72fa779fc minimal (#5)
Reviewed-on: https://codeberg.org/serenity-F/nixdots/pulls/5
Co-authored-by: Serenity-F <serenity-amalgam@protonmail.com>
Co-committed-by: Serenity-F <serenity-amalgam@protonmail.com>
2024-04-08 13:15:48 +00:00

39 lines
604 B
Nix

{ pkgs, lib, config, ... }:
{
imports = [
];
services = {
gvfs.enable = true;
dbus.enable = true;
avahi = {
enable = false;
nssmdns = false;
openFirewall = false;
};
locate = {
enable = false;
package = pkgs.plocate;
localuser = null;
};
};
# disable these cuz they cause problems
# see: https://github.com/NixOS/nixpkgs/issues/180175
systemd.services = {
networkManager-wait-online.enable = lib.mkForce false;
systemd-networkd-wait-online.enable = lib.mkForce false;
};
system.stateVersion = "23.11";
}