From 27255e85e069e28850020da6298a45efba22c629 Mon Sep 17 00:00:00 2001 From: Elias Renman Date: Thu, 30 Nov 2023 15:11:11 +0100 Subject: [PATCH] feat: swaylock --- configuration.nix | 6 +++--- packages.nix | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index adce59a..1f44a6b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -15,7 +15,7 @@ boot.loader.systemd-boot.enable = true; boot.loader.grub.device = "/dev/sda"; boot.loader.efi.canTouchEfiVariables = true; - + # bluetooth support hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; @@ -110,7 +110,8 @@ uid = 1000; extraGroups = [ "wheel" "networkmanager" ]; }; - + # Login configuration + security.pam.services.swaylock = {}; # This value determines the NixOS release with which your system is to be # compatible, in order to avoid breaking some software such as database # servers. You should change this only after NixOS release notes say you @@ -118,5 +119,4 @@ system.stateVersion = "18.09"; system.autoUpgrade.enable = true; - } diff --git a/packages.nix b/packages.nix index 1bbbe53..767ec34 100644 --- a/packages.nix +++ b/packages.nix @@ -60,6 +60,7 @@ wofi libsForQt5.sddm wlogout + swaylock-effects # Ricing apps spotify-qt cava