aboutsummaryrefslogtreecommitdiff
path: root/system/services.nix
blob: 383eda9e8504fc7d8eba03100b767b11057ba8a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{pkgs, ...}: {
  security.pam.sshAgentAuth.enable = true;

  time.timeZone = "Europe/Prague";

  services = {
    displayManager.ly.enable = true;
    printing.enable = true;
    libinput.enable = true;
    openssh.enable = true;
    tailscale.enable = true;
    gnome = {
      gnome-keyring.enable = true;
      gcr-ssh-agent.enable = false;
    };
    # Setup MPD as the backend of RMPC
    mpd = {
      enable = true;
      musicDirectory = "~/Music";
      extraConfig = ''
        audio_output {
        	type "pipewire"
        	name "PipeWire"
        }
      '';
    };
  };
}