refactoring services

This commit is contained in:
Alexandre LUCAZEAU 2022-09-15 08:25:16 +02:00
parent bf83d70777
commit 8f255bcea3
No known key found for this signature in database
GPG Key ID: 3C8ADB07A8217BD3
2 changed files with 13 additions and 5 deletions

View File

@ -1,18 +1,26 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ];
services.blueman.enable = true;
# SERVICES # SERVICES
services = { services = {
printing = {
enable = true;
drivers = [ pkgs.brlaser ];
};
blueman = {
enable = true;
};
clamav = { clamav = {
daemon.enable = true; daemon.enable = true;
updater.enable = true; updater.enable = true;
}; };
ntp.enable = true; ntp = {
enable = true;
};
tlp = { tlp = {
enable = true; enable = true;
settings = { settings = {
@ -59,7 +67,6 @@
time = 10; time = 10;
locker = "${pkgs.i3lock}/bin/i3lock -i /home/alexandre/images/coffee_time.png"; locker = "${pkgs.i3lock}/bin/i3lock -i /home/alexandre/images/coffee_time.png";
}; };
displayManager.defaultSession = "none+i3"; displayManager.defaultSession = "none+i3";
layout = "fr"; layout = "fr";
xkbOptions = "eurosign:e"; xkbOptions = "eurosign:e";

View File

@ -53,5 +53,6 @@
unar # like 7z unar # like 7z
nmap nmap
udiskie udiskie
libnotify
]; ];
} }