mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-11-16 09:24:58 +00:00
Compare commits
4 Commits
5d336ad0cf
...
4989a66100
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4989a66100 | ||
|
|
1107486c29 | ||
|
|
a24818555e | ||
|
|
bbeaebcd8e |
@ -30,40 +30,6 @@
|
||||
(define-public atuin-bin
|
||||
(deprecated-package "atuin-bin" atuin))
|
||||
|
||||
(define-public bitwarden
|
||||
(package
|
||||
(name "bitwarden")
|
||||
(version "2025.3.1")
|
||||
(source (origin
|
||||
(method url-fetch/zipbomb)
|
||||
(uri (string-append "https://github.com/bitwarden/clients"
|
||||
"/releases/download/browser-v" version
|
||||
"/dist-firefox-" version ".zip"))
|
||||
(sha256
|
||||
(base32
|
||||
"03s8z32rc4mwzi61xpzn4f9z6kxwdnshqy61h2kr3cvq9974li3s"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
(list #:install-plan
|
||||
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
|
||||
(home-page "https://bitwarden.com/")
|
||||
(synopsis "Bitwarden client browser extension")
|
||||
(description
|
||||
"This package provides browser extension for Bitwarden client.")
|
||||
(license license:gpl3)
|
||||
(properties
|
||||
'((addon-id . "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
||||
(hidden? . #t)
|
||||
(rosenthal-update? . #f)))))
|
||||
|
||||
(define-public bitwarden/icecat
|
||||
(let ((base (make-icecat-extension bitwarden)))
|
||||
(package
|
||||
(inherit base)
|
||||
(properties
|
||||
`(,@(alist-delete 'hidden? (package-properties base))
|
||||
(rosenthal-update? . #f))))))
|
||||
|
||||
(define-public hugo-bin
|
||||
(deprecated-package "hugo-bin" hugo))
|
||||
|
||||
@ -189,55 +155,6 @@ eBooks.")
|
||||
(license license:expat)
|
||||
(properties '((upstream-name . "komga")))))
|
||||
|
||||
(define-public miniflux-injector
|
||||
(package
|
||||
(name "miniflux-injector")
|
||||
(version "2.3.3")
|
||||
(properties
|
||||
'((addon-id . "{528ec801-2e29-4cb9-ae71-5a90503138d1}")
|
||||
(hidden? . #t)
|
||||
(rosenthal-update? . #f)))
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch/zipbomb)
|
||||
(uri (string-append
|
||||
"https://github.com/Sevichecc/miniflux-injector/releases/download"
|
||||
"/v" version "/miniflux_injector-" version ".zip"))
|
||||
(sha256
|
||||
(base32
|
||||
"199z441ak6dwy7skgbwc9aa4gfd2r4i22hxfm27s5k3rv7barbvs"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(substitute* "manifest.json"
|
||||
(("homepage_url.*" line)
|
||||
(string-append line "\
|
||||
\"browser_specific_settings\": {
|
||||
\"gecko\": {
|
||||
\"id\": \"" #$(assq-ref properties 'addon-id) "\"
|
||||
}
|
||||
},
|
||||
"))))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:install-plan
|
||||
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
|
||||
(home-page "https://github.com/Sevichecc/miniflux-injector")
|
||||
(synopsis "Injects Miniflux search results into search page")
|
||||
(description
|
||||
"This package provides a browser extension to inject Miniflux search
|
||||
results into search page. Search terms are sent to your Miniflux instance and
|
||||
results are added in a sidebar next to search engine results.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public miniflux-injector/icecat
|
||||
(let ((base (make-icecat-extension miniflux-injector)))
|
||||
(package
|
||||
(inherit base)
|
||||
(properties
|
||||
`(,@(alist-delete 'hidden? (package-properties base))
|
||||
(rosenthal-update? . #f))))))
|
||||
|
||||
(define-public navidrome-bin
|
||||
(package
|
||||
(name "navidrome-bin")
|
||||
|
||||
145
modules/rosenthal/packages/browser-extensions.scm
Normal file
145
modules/rosenthal/packages/browser-extensions.scm
Normal file
@ -0,0 +1,145 @@
|
||||
;; SPDX-FileCopyrightText: 2023-2024 Hilton Chain <hako@ultrarare.space>
|
||||
;;
|
||||
;; SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
(define-module (rosenthal packages browser-extensions)
|
||||
#:use-module (srfi srfi-1)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (guix packages)
|
||||
#:use-module (guix download)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module (guix build-system copy)
|
||||
#:use-module (gnu build icecat-extension))
|
||||
|
||||
(define-public bitwarden
|
||||
(package
|
||||
(name "bitwarden")
|
||||
(version "2025.3.1")
|
||||
(source (origin
|
||||
(method url-fetch/zipbomb)
|
||||
(uri (string-append "https://github.com/bitwarden/clients"
|
||||
"/releases/download/browser-v" version
|
||||
"/dist-firefox-" version ".zip"))
|
||||
(sha256
|
||||
(base32
|
||||
"03s8z32rc4mwzi61xpzn4f9z6kxwdnshqy61h2kr3cvq9974li3s"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
(list #:install-plan
|
||||
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
|
||||
(home-page "https://bitwarden.com/")
|
||||
(synopsis "Bitwarden client browser extension")
|
||||
(description
|
||||
"This package provides browser extension for Bitwarden client.")
|
||||
(license license:gpl3)
|
||||
(properties
|
||||
'((addon-id . "{446900e4-71c2-419f-a6a7-df9c091e268b}")
|
||||
(hidden? . #t)
|
||||
(rosenthal-update? . #f)))))
|
||||
|
||||
(define-public bitwarden/icecat
|
||||
(let ((base (make-icecat-extension bitwarden)))
|
||||
(package
|
||||
(inherit base)
|
||||
(properties
|
||||
`(,@(alist-delete 'hidden? (package-properties base))
|
||||
(rosenthal-update? . #f))))))
|
||||
|
||||
(define-public miniflux-injector
|
||||
(package
|
||||
(name "miniflux-injector")
|
||||
(version "2.3.3")
|
||||
(properties
|
||||
'((addon-id . "{528ec801-2e29-4cb9-ae71-5a90503138d1}")
|
||||
(hidden? . #t)
|
||||
(rosenthal-update? . #f)))
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch/zipbomb)
|
||||
(uri (string-append
|
||||
"https://github.com/Sevichecc/miniflux-injector/releases/download"
|
||||
"/v" version "/miniflux_injector-" version ".zip"))
|
||||
(sha256
|
||||
(base32
|
||||
"199z441ak6dwy7skgbwc9aa4gfd2r4i22hxfm27s5k3rv7barbvs"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(substitute* "manifest.json"
|
||||
(("homepage_url.*" line)
|
||||
(string-append line "\
|
||||
\"browser_specific_settings\": {
|
||||
\"gecko\": {
|
||||
\"id\": \"" #$(assq-ref properties 'addon-id) "\"
|
||||
}
|
||||
},
|
||||
"))))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:install-plan
|
||||
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
|
||||
(home-page "https://github.com/Sevichecc/miniflux-injector")
|
||||
(synopsis "Injects Miniflux search results into search page")
|
||||
(description
|
||||
"This package provides a browser extension to inject Miniflux search
|
||||
results into search page. Search terms are sent to your Miniflux instance and
|
||||
results are added in a sidebar next to search engine results.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public miniflux-injector/icecat
|
||||
(let ((base (make-icecat-extension miniflux-injector)))
|
||||
(package
|
||||
(inherit base)
|
||||
(properties
|
||||
`(,@(alist-delete 'hidden? (package-properties base))
|
||||
(rosenthal-update? . #f))))))
|
||||
|
||||
(define-public ohmyech
|
||||
(package
|
||||
(name "ohmyech")
|
||||
(version "1.1")
|
||||
(properties
|
||||
'((addon-id . "{46b8ab0b-8adf-4e43-ad67-acef5a8d45c9}")
|
||||
(hidden? . #t)
|
||||
(rosenthal-update? . #f)))
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/27justin/ohmyech")
|
||||
(commit "ec7935d500a9d354776586e25261cef3595c40c7")))
|
||||
(sha256
|
||||
(base32
|
||||
"1mrbm8c8z9zpfrs0qk5qj64f35p7c5lrxfn3nhda0ar0b2rv6593"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
#~(substitute* "manifest.json"
|
||||
(("\"version\".*" line)
|
||||
(string-append line "\
|
||||
\"browser_specific_settings\": {
|
||||
\"gecko\": {
|
||||
\"id\": \"" #$(assq-ref properties 'addon-id) "\"
|
||||
}
|
||||
},
|
||||
"))))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
(list #:install-plan
|
||||
#~'(("." #$(assq-ref (package-properties this-package) 'addon-id)))))
|
||||
(home-page "https://github.com/27justin/ohmyech")
|
||||
(synopsis "Visual indicator for Encrpted Client Hello")
|
||||
(description
|
||||
"OhMyECH is a browser extension for indicating the use of @acronym{ECH,
|
||||
Encrypted Client Hello} on web pages. When enabled, it adds an icon to the
|
||||
browser address bar, providing users with a visual cue about whether the
|
||||
current page employs @acronym{ECH}, which helps protect sensitive information
|
||||
during the @acronym{TLS, Transport Layer Security} handshake process.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public ohmyech-icecat
|
||||
(let ((base (make-icecat-extension ohmyech)))
|
||||
(package
|
||||
(inherit base)
|
||||
(properties
|
||||
`(,@(alist-delete 'hidden? (package-properties base))
|
||||
(rosenthal-update? . #f))))))
|
||||
@ -160,13 +160,22 @@ headers. This can expose sensitive information in your logs.")
|
||||
"List of extra options.")
|
||||
(no-serialization))
|
||||
|
||||
(define %cloudflare-tunnel-accounts
|
||||
(list (user-account
|
||||
(name "cloudflared")
|
||||
(group "nogroup")
|
||||
(system? #t)
|
||||
(home-directory "/var/empty")
|
||||
(create-home-directory? #f)
|
||||
(shell (file-append shadow "/sbin/nologin")))))
|
||||
|
||||
(define cloudflare-tunnel-shepherd-service
|
||||
(match-record-lambda <cloudflare-tunnel-configuration>
|
||||
(cloudflared log-level log-file extra-tunnel-options
|
||||
token token-file extra-options)
|
||||
(list (shepherd-service
|
||||
(documentation "Run cloudflared.")
|
||||
(provision '(cloudflare-tunnel))
|
||||
(provision '(cloudflare-tunnel cloudflared))
|
||||
(requirement '(loopback networking))
|
||||
(start #~(make-forkexec-constructor
|
||||
(list #$(file-append cloudflared "/bin/cloudflared")
|
||||
@ -176,7 +185,7 @@ headers. This can expose sensitive information in your logs.")
|
||||
#$@extra-tunnel-options
|
||||
"run"
|
||||
#$@extra-options)
|
||||
#:user "nobody"
|
||||
#:user "cloudflared"
|
||||
#:group "nogroup"
|
||||
#:log-file #$log-file
|
||||
#:environment-variables
|
||||
@ -196,6 +205,8 @@ headers. This can expose sensitive information in your logs.")
|
||||
(extensions
|
||||
(list (service-extension shepherd-root-service-type
|
||||
cloudflare-tunnel-shepherd-service)
|
||||
(service-extension account-service-type
|
||||
(const %cloudflare-tunnel-accounts))
|
||||
(service-extension log-rotation-service-type
|
||||
(compose list cloudflare-tunnel-configuration-log-file))))
|
||||
(default-value (cloudflare-tunnel-configuration))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user