ajout d'un générateur de nombres aléatoires pour ++ l'entropie du système
This commit is contained in:
15
services.nix
15
services.nix
@@ -1,8 +1,19 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enable the OpenSSH dble the OpenSSH daemon. aemon
|
# Sécurité & Acces distant
|
||||||
services.openssh.enable = true;
|
|
||||||
|
## Augmentation de l'entropie du système par un générateur de nombres aléatoires
|
||||||
|
## cat /proc/sys/kernel/random/entropy_avail
|
||||||
|
services.haveged = {
|
||||||
|
enable = true;
|
||||||
|
refill_threshold = 2048;
|
||||||
|
};
|
||||||
|
|
||||||
|
## OpenSSH daemon
|
||||||
|
services.openssh = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing = {
|
services.printing = {
|
||||||
|
|||||||
Reference in New Issue
Block a user