My dotfiles for Arch Linux

Add frintd documentation

jehrhardt.dev 4e9b39b9 603ebd26

verified
+60 -7
+60 -7
README.md
··· 26 ```bash 27 paru -S \ 28 swayidle \ 29 yazi \ 30 btop \ 31 bluetui \ ··· 53 ```bash 54 ssh-keygen -t ed25519-sk -C jan.ehrhardt@cozybytes.tech 55 ``` 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 61 #### Setup Neovim 62 ··· 108 109 #### Ensure systemd units are enabled 110 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: 112 113 ```bash 114 systemctl --user add-wants niri.service plasma-polkit-agent.service ··· 117 systemctl --user add-wants niri.service swayidle.service 118 ``` 119 120 #### Install development tools 121 122 I use several tools for development that are not configured via my dotfiles, but need to be setup. ··· 215 paru -S opencode-bin 216 ``` 217 218 - ##### Zen 219 220 My preferred browser: 221 222 ```bash 223 - paru -S zen-browser-bin 224 ``` 225 226 ##### Obsidian
··· 26 ```bash 27 paru -S \ 28 swayidle \ 29 + fprintd \ 30 yazi \ 31 btop \ 32 bluetui \ ··· 54 ```bash 55 ssh-keygen -t ed25519-sk -C jan.ehrhardt@cozybytes.tech 56 ``` 57 58 #### Setup Neovim 59 ··· 105 106 #### Ensure systemd units are enabled 107 108 + I use systemd to launch several services along niri. They must be enabled by: 109 110 ```bash 111 systemctl --user add-wants niri.service plasma-polkit-agent.service ··· 114 systemctl --user add-wants niri.service swayidle.service 115 ``` 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 + 173 #### Install development tools 174 175 I use several tools for development that are not configured via my dotfiles, but need to be setup. ··· 268 paru -S opencode-bin 269 ``` 270 271 + ##### Brave 272 273 My preferred browser: 274 275 ```bash 276 + paru -S brave-bin 277 ``` 278 279 ##### Obsidian