From 28e04c6fa5017b2f4628c36b233cd0ba5e24de17 Mon Sep 17 00:00:00 2001 From: traxys Date: Wed, 15 Dec 2021 10:20:21 +0100 Subject: [PATCH] swaylock (fuller version) --- nixos/configuration.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index bedbbf9..8a03785 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -58,6 +58,12 @@ }; }; + security.pam.services.swaylock = { + text = '' + auth include login + ''; + }; + networking.networkmanager.enable = true; programs.noisetorch.enable = true; @@ -72,8 +78,6 @@ options = "--delete-older-than 14d"; # Ajuste comme tu veux, tu peux utiliser +5 pour garder les 5 dernières, etc. }; - security.pam.services.swaylock = {}; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave