37 lines
709 B
Nix
37 lines
709 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services = {
|
|
avahi = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
printing.enable = true;
|
|
clamav = {
|
|
daemon.enable = true;
|
|
updater.enable = true;
|
|
};
|
|
locate = {
|
|
enable = true;
|
|
locate = pkgs.plocate;
|
|
interval = "hourly";
|
|
localuser = null;
|
|
};
|
|
xserver = {
|
|
enable = true;
|
|
autorun = true;
|
|
windowManager.i3.enable = true;
|
|
displayManager.defaultSession = "none+i3";
|
|
layout = "fr";
|
|
xkbOptions = "eurosign:e";
|
|
};
|
|
openssh = {
|
|
enable = true;
|
|
settings.PermitRootLogin = "no";
|
|
};
|
|
ntp.enable = true;
|
|
tlp.enable = true;
|
|
fstrim.enable = true;
|
|
};
|
|
}
|