From 3b2e9cefb318b37bb2b15f292ddd5ee3d427ce4e Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 17 Aug 2023 19:26:20 +0900 Subject: [PATCH] Testing swaylock --- README.md | 6 +++--- desktops/hyprland.nix | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index abb812bd..37378ff6 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Repo for nix configuration files --- # To Do List * [ ] btrfs snapshots -* [ ] regreet config / theming - Icons still broken for some reason +* [x] regreet config / theming - Icons still broken for some reason * Possibly switch to tuigreet and gruv it * [x] mako config / theming * [x] waybar config / theming @@ -26,7 +26,7 @@ Repo for nix configuration files * [ ] Try and submit this as a nixpkg - [Link](https://github.com/SylEleuth/gruvbox-plus-icon-pack) * [x] Possibly move away from powerline-go - I want something simpler * Staying with powerline-go, just editing the config in `home-manager/bash.nix` -* [ ] Set up the fingerprint reader - [Link](https://www.makeuseof.com/set-up-fingerprint-scanner-with-pam-on-linux/) +* [x] Set up the fingerprint reader - [Link](https://www.makeuseof.com/set-up-fingerprint-scanner-with-pam-on-linux/) * [x] sublime music config / theming / integration - [Link](https://docs.sublimemusic.app/) * [ ] hyprland * [x] Try hyprctl @@ -34,7 +34,7 @@ Repo for nix configuration files * [x] libinput-gestures? * [x] configure programs.light - keybinds in hyprland config * [x] authentication agent (like polkit-kde-agent) - * [ ] Set GTK theme for GTK apps + * [x] Set GTK theme for GTK apps --- diff --git a/desktops/hyprland.nix b/desktops/hyprland.nix index 9ffbff1e..b096258f 100644 --- a/desktops/hyprland.nix +++ b/desktops/hyprland.nix @@ -52,6 +52,8 @@ programs.light.enable = true; # PolKit for the fingerprint reader security.polkit.enable = true; + # https://github.com/NixOS/nixpkgs/issues/143365 + security.pam.services.swaylock = {}; # Enabling hyprlnd on NixOS programs.hyprland = { @@ -88,17 +90,15 @@ slurp # Screenshots wl-clipboard # Clipboard font-awesome # Fonts - swaylock-fancy # Lock screen gruvbox-gtk-theme # Gruvbox Theme papirus-icon-theme # Papirus Icons libinput-gestures # Gesture Control\ playerctl # Control sublime-music from waybar? pavucontrol # Pulse Audio Volume CONTROL glib # Set GTK theme settings - gsettings-desktop-schemas # SO I can set themes - greetd.tuigreet # Greeter - polkit - libsForQt5.polkit-kde-agent + greetd.tuigreet # Greeter + swaylock-fancy # Lock screen + swayidle # Idle management daemon - Automatic lock screen ]; # Enable sound with pipewire.