Compare commits

..

3 commits

Author SHA1 Message Date
GaspardCulis
871a518740 chore(hypr): Link swaylock-hyprland to local bin folder 2024-09-30 14:09:15 +02:00
GaspardCulis
b9cf39460d fix(Zephyrus): Declare security.pam.swaylock
Fixes `swaylock` not unlocking
2024-09-30 14:08:31 +02:00
GaspardCulis
4f8d559d67 fix(bin -> swaylock-hyprland): Removed absolute binary path 2024-09-30 14:07:57 +02:00
3 changed files with 9 additions and 2 deletions

View file

@ -1,7 +1,7 @@
#!/bin/sh
# Run swaylock
exec /usr/bin/swaylock \
exec swaylock \
"$@" \
--indicator \
--daemonize \

View file

@ -30,6 +30,11 @@
source = ../../bin/wallpaperctl;
executable = true;
};
# Lock script
".local/bin/swaylock-hyprland" = {
source = ../../bin/swaylock-hyprland;
executable = true;
};
};
home.packages = [
@ -42,6 +47,7 @@
pkgs.hyprpicker
pkgs.udiskie
pkgs.swww
pkgs.swaylock-effects
# Apps launchable from bindings
pkgs.firefox
pkgs.kitty

View file

@ -2,7 +2,6 @@
inputs,
pkgs,
lib,
config,
...
}: {
imports = [
@ -23,6 +22,8 @@
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
security.pam.services.swaylock = {};
# Audio
security.rtkit.enable = true;
services.pipewire = {