My dotfiles for Arch Linux

Add frintd documentation

jehrhardt.dev 4e9b39b9 603ebd26

verified
+60 -7
+60 -7
README.md
··· 26 26 ```bash 27 27 paru -S \ 28 28 swayidle \ 29 + fprintd \ 29 30 yazi \ 30 31 btop \ 31 32 bluetui \ ··· 53 54 ```bash 54 55 ssh-keygen -t ed25519-sk -C jan.ehrhardt@cozybytes.tech 55 56 ``` 56 - 57 - #### Setup fingerprint reader 58 - 59 - I prefer to use the fingerprint reader to unlock my laptop and authorize `sudo` commands in my terminal. 60 57 61 58 #### Setup Neovim 62 59 ··· 108 105 109 106 #### Ensure systemd units are enabled 110 107 111 - By default CachyOS uses niri's auto-start feature for launching waybar and other tools. I prefer to let systemd do this by enabling them via: 108 + I use systemd to launch several services along niri. They must be enabled by: 112 109 113 110 ```bash 114 111 systemctl --user add-wants niri.service plasma-polkit-agent.service ··· 117 114 systemctl --user add-wants niri.service swayidle.service 118 115 ``` 119 116 117 + #### Setup fingerprint reader 118 + 119 + I prefer to use the fingerprint reader to unlock my laptop and authorize `sudo` commands in my terminal. 120 + 121 + Update PAM configuration to use fingerprint authentication. 122 + 123 + ##### /etc/pam.d/sudo 124 + 125 + Add before other config: 126 + 127 + ``` 128 + auth sufficient pam_fprintd.so 129 + ``` 130 + 131 + ##### /etc/pam.d/polkit-1 132 + 133 + Add the following: 134 + 135 + ``` 136 + #%PAM-1.0 137 + auth sufficient pam_fprintd.so 138 + auth required pam_unix.so 139 + account required pam_unix.so 140 + password required pam_unix.so 141 + session required pam_unix.so 142 + ``` 143 + 144 + ##### /etc/pam.d/swaylock 145 + 146 + Add before other config: 147 + 148 + ``` 149 + auth sufficient pam_unix.so try_first_pass likeauth nullok 150 + auth sufficient pam_fprintd.so 151 + ``` 152 + 153 + ##### Add new fingerprint 154 + 155 + Restart polkit agent: 156 + 157 + ```bash 158 + systemctl --user restart plasma-polkit-agent.service 159 + ``` 160 + 161 + Enroll: 162 + 163 + ```bash 164 + fprintd-enroll 165 + ``` 166 + 167 + Then verify: 168 + 169 + ```bash 170 + fprintd-verify 171 + ``` 172 + 120 173 #### Install development tools 121 174 122 175 I use several tools for development that are not configured via my dotfiles, but need to be setup. ··· 215 268 paru -S opencode-bin 216 269 ``` 217 270 218 - ##### Zen 271 + ##### Brave 219 272 220 273 My preferred browser: 221 274 222 275 ```bash 223 - paru -S zen-browser-bin 276 + paru -S brave-bin 224 277 ``` 225 278 226 279 ##### Obsidian