nitrokey stuff

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2024-01-26 21:52:33 -05:00
parent 5604d37d07
commit 917b8bc75c
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
4 changed files with 12 additions and 5 deletions

View File

@ -38,7 +38,9 @@ alias curl='curl -L'
alias prof='profanity'
alias gomuks="http_proxy='socks5://127.0.0.1:9050' gomuks"
alias tut="http_proxy='socks5://127.0.0.1:9050' tut"
alias dico="dico -d en-wiktionary"
alias nk="LD_LIBRARY_PATH=/run/current-system/profile/lib nitropy"
alias nk3="LD_LIBRARY_PATH=/run/current-system/profile/lib nitropy nk3"
alias totp="LD_LIBRARY_PATH=/run/current-system/profile/lib nitropy nk3 get-otp"
# Random string (passwords)
randstr() {

View File

@ -9,7 +9,7 @@
(plain-file "devspec" "\
#!/usr/bin/env bash
if [[ $HOSTNAME == Neon ]]; then
if [[ $HOSTNAME == Neon || $HOSTNAME == Helium || $HOSTNAME == Sodium ]]; then
export WLR_NO_HARDWARE_CURSORS=1
fi
"))
@ -370,7 +370,9 @@ alias curl='curl -L'
alias prof='profanity'
alias gomuks=\"http_proxy='socks5://127.0.0.1:9050' gomuks\"
alias tut=\"http_proxy='socks5://127.0.0.1:9050' tut\"
alias dico=\"dico -d en-wiktionary\"
alias nk=\"LD_LIBRARY_PATH=/run/current-system/profile/lib nitropy\"
alias nk3=\"LD_LIBRARY_PATH=/run/current-system/profile/lib nitropy nk3\"
alias totp=\"LD_LIBRARY_PATH=/run/current-system/profile/lib nitropy nk3 get-otp\"
# Random string (passwords)
randstr() {

View File

@ -165,7 +165,10 @@
(jobs (list webfetch-job))))
(simple-service 'home-env
home-environment-variables-service-type
`(("LIBGL_DRIVERS_PATH" . ,(if (equal? (gethostname) "Neon")
`(("LIBGL_DRIVERS_PATH" . ,(if (or
(equal? (gethostname) "Neon")
(equal? (gethostname) "Helium")
(equal? (gethostname) "Sodium"))
(file-append mesa-i915 "/lib/dri")
(file-append mesa "/lib/dri")))
("PRIV" . "sudo")

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
if [[ $HOSTNAME == Neon ]]; then
if [[ $HOSTNAME == Neon || $HOSTNAME == Helium || $HOSTNAME == Sodium ]]; then
export WLR_NO_HARDWARE_CURSORS=1
fi