52 lines
916 B
Nix
52 lines
916 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
services = {
|
|
avahi = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
|
|
clamav = {
|
|
daemon.enable = true;
|
|
updater.enable = true;
|
|
};
|
|
|
|
ntp = {
|
|
enable = true;
|
|
};
|
|
|
|
thermald = {
|
|
enable = true;
|
|
};
|
|
|
|
fstrim = {
|
|
enable = true;
|
|
};
|
|
|
|
locate = {
|
|
enable = true;
|
|
locate = pkgs.plocate;
|
|
interval = "hourly";
|
|
localuser = null;
|
|
};
|
|
|
|
pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
# Enable the X11 windowing system.
|
|
xserver = {
|
|
enable = true;
|
|
# Configure keymap in X11
|
|
layout = "fr";
|
|
xkbOptions = "eurosign:e,caps:escape";
|
|
# Enable the GNOME Desktop Environment.
|
|
displayManager.gdm.enable = true;
|
|
desktopManager.gnome.enable = true;
|
|
};
|
|
};
|
|
}
|