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 #!/bin/sh
# Run swaylock # Run swaylock
exec /usr/bin/swaylock \ exec swaylock \
"$@" \ "$@" \
--indicator \ --indicator \
--daemonize \ --daemonize \

View file

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

View file

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