summaryrefslogtreecommitdiff
path: root/nixos/modules/system/services/default.nix
blob: 74ac531aad81d9325b9c4480511a4b934ef27fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ ... }:

{
  # File indexer (gvfs) + thumbnailer (tumbler) for the desktop shell.
  services.gvfs.enable = true;
  services.tumbler.enable = true;
  # GNOME Keyring: stores secrets for Chrome/keepassxc seams etc.
  services.gnome.gnome-keyring.enable = true;
  # dconf is the config DB used by GSettings-backed apps (nautilus, etc.).
  programs.dconf.enable = true;

  # Keep the journal bounded so it can't fill the root partition.
  services.journald.extraConfig = ''
    SystemMaxUse=50M
    MaxRetentionSec=1month
  '';
}