change lockscreen to betterlockscreen

This commit is contained in:
2025-05-05 09:09:56 +02:00
parent a75991ba52
commit bea9a3e15b
7 changed files with 14 additions and 3 deletions

View File

@@ -90,8 +90,9 @@
# Setting the Basic Packages.
environment.systemPackages = with pkgs; [
(libsForQt5.callPackage ./home/themes/catppuccin-sddm.nix { })
xsecurelock
# Betterlockscreen
xss-lock
xorg.xset
# flutter
android-studio
clang
@@ -155,6 +156,8 @@
ssh.startAgent = true;
zsh.enable = true;
};
# Betterlockscreen
security.pam.services.i3lock.enable = true;
# Enabling the Keyring.
security.pam.services.lightdm.enableGnomeKeyring = true;

View File

@@ -0,0 +1,5 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ betterlockscreen ];
}

View File

@@ -2,6 +2,7 @@
imports = [
./alacritty
./anki
./betterlockscreen
./calibre
./discord
./dolphin

View File

@@ -1,2 +1,2 @@
(include "./bar.yuck")
(include "./powerpopup.yuck")
(include "./power.yuck")

View File

@@ -1 +1 @@
xsecurelock
betterlockscreen --lock blur

View File

@@ -100,3 +100,5 @@ myStartupHook = do
spawnOnce "nextcloud --background"
spawnOnce "trayer --edge top --align left --widthtype request --height 25 --transparent true --alpha 0 --expand true --SetDockType true --SetPartialStrut true"
spawnOnce "eww open bar"
spawnOnce "xss-lock -- ~/.config/eww/scripts/blur-lock.sh &"
spawnOnce "xset s 600 600 && xset +dpms && xset dpms 600 900 1200"