From 56cfb5d7b0e5ad2f4fb2443b91395c28877a344b Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 10 Feb 2025 22:24:09 +0100 Subject: [PATCH] feat: adding the swaylock configuration --- hm-config | 1 - hosts/fix/configuration.nix | 3 +++ hosts/global.nix | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) delete mode 160000 hm-config diff --git a/hm-config b/hm-config deleted file mode 160000 index 5e8e9aa..0000000 --- a/hm-config +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5e8e9aa272ce0e2df80021a7f07cac33d9b7d85b diff --git a/hosts/fix/configuration.nix b/hosts/fix/configuration.nix index fd92c8a..6c12368 100644 --- a/hosts/fix/configuration.nix +++ b/hosts/fix/configuration.nix @@ -15,6 +15,9 @@ ticket = true; }; }; + + security.pam.services.swaylock = {}; + # Bootloader. boot.loader = { systemd-boot.enable = true; diff --git a/hosts/global.nix b/hosts/global.nix index 9e68fc5..177585f 100644 --- a/hosts/global.nix +++ b/hosts/global.nix @@ -78,15 +78,17 @@ python3 python3Packages.pip qflipper + swaylock + swaylock-fancy tmux unzip + vim wget wl-clipboard xclip - xsel xdg-desktop-portal-hyprland + xsel yarn zsh - vim ]; }