mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-11-16 17:34:37 +00:00
Compare commits
No commits in common. "f1f47b6e2d9caaa58102b39ab457c388eb260707" and "1f7b63ae66d101856ef7011c8080705c60d496a4" have entirely different histories.
f1f47b6e2d
...
1f7b63ae66
@ -45,19 +45,21 @@
|
|||||||
(define %home-atuin-fish
|
(define %home-atuin-fish
|
||||||
(match-record-lambda <home-atuin-configuration>
|
(match-record-lambda <home-atuin-configuration>
|
||||||
(atuin shells)
|
(atuin shells)
|
||||||
|
(if (member 'fish shells)
|
||||||
(home-fish-extension
|
(home-fish-extension
|
||||||
(config
|
(config
|
||||||
(if (member 'fish shells)
|
|
||||||
(list (mixed-text-file "atuin.fish"
|
(list (mixed-text-file "atuin.fish"
|
||||||
atuin "/bin/atuin init fish | source\n"))
|
atuin "/bin/atuin init fish | source\n")))))))
|
||||||
'())))))
|
|
||||||
|
|
||||||
(define home-atuin-service-type
|
(define home-atuin-service-type
|
||||||
(service-type
|
(service-type
|
||||||
(name 'atuin)
|
(name 'atuin)
|
||||||
(extensions
|
(extensions
|
||||||
|
`(,@(if %home-atuin-fish
|
||||||
(list (service-extension home-fish-service-type
|
(list (service-extension home-fish-service-type
|
||||||
%home-atuin-fish)))
|
%home-atuin-fish))
|
||||||
|
|
||||||
|
'())))
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -76,19 +78,21 @@
|
|||||||
(define %home-direnv-fish
|
(define %home-direnv-fish
|
||||||
(match-record-lambda <home-direnv-configuration>
|
(match-record-lambda <home-direnv-configuration>
|
||||||
(direnv shells)
|
(direnv shells)
|
||||||
|
(if (member 'fish shells)
|
||||||
(home-fish-extension
|
(home-fish-extension
|
||||||
(config
|
(config
|
||||||
(if (member 'fish shells)
|
|
||||||
(list (mixed-text-file "direnv.fish"
|
(list (mixed-text-file "direnv.fish"
|
||||||
direnv "/bin/direnv hook fish | source\n"))
|
direnv "/bin/direnv hook fish | source\n")))))))
|
||||||
'())))))
|
|
||||||
|
|
||||||
(define home-direnv-service-type
|
(define home-direnv-service-type
|
||||||
(service-type
|
(service-type
|
||||||
(name 'direnv)
|
(name 'direnv)
|
||||||
(extensions
|
(extensions
|
||||||
|
`(,@(if %home-direnv-fish
|
||||||
(list (service-extension home-fish-service-type
|
(list (service-extension home-fish-service-type
|
||||||
%home-direnv-fish)))
|
%home-direnv-fish))
|
||||||
|
|
||||||
|
'())))
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|
||||||
|
|
||||||
@ -107,17 +111,19 @@
|
|||||||
(define %home-zoxide-fish
|
(define %home-zoxide-fish
|
||||||
(match-record-lambda <home-zoxide-configuration>
|
(match-record-lambda <home-zoxide-configuration>
|
||||||
(zoxide shells)
|
(zoxide shells)
|
||||||
|
(if (member 'fish shells)
|
||||||
(home-fish-extension
|
(home-fish-extension
|
||||||
(config
|
(config
|
||||||
(if (member 'fish shells)
|
|
||||||
(list (mixed-text-file "zoxide.fish"
|
(list (mixed-text-file "zoxide.fish"
|
||||||
zoxide "/bin/zoxide init --cmd cd fish | source\n"))
|
zoxide "/bin/zoxide init --cmd cd fish | source\n")))))))
|
||||||
'())))))
|
|
||||||
|
|
||||||
(define home-zoxide-service-type
|
(define home-zoxide-service-type
|
||||||
(service-type
|
(service-type
|
||||||
(name 'zoxide)
|
(name 'zoxide)
|
||||||
(extensions
|
(extensions
|
||||||
|
`(,@(if %home-zoxide-fish
|
||||||
(list (service-extension home-fish-service-type
|
(list (service-extension home-fish-service-type
|
||||||
%home-zoxide-fish)))
|
%home-zoxide-fish))
|
||||||
|
|
||||||
|
'())))
|
||||||
(description "")))
|
(description "")))
|
||||||
|
|||||||
@ -409,7 +409,9 @@
|
|||||||
(match-record-lambda <misskey-configuration>
|
(match-record-lambda <misskey-configuration>
|
||||||
(image config data-directory log-file )
|
(image config data-directory log-file )
|
||||||
(let ((config-file
|
(let ((config-file
|
||||||
(mixed-text-file "misskey.yaml" (yaml-serialize config))))
|
(mixed-text-file
|
||||||
|
"misskey.yaml"
|
||||||
|
#~(string-append #$@(yaml-serialize config) "\n"))))
|
||||||
(list (oci-container-configuration
|
(list (oci-container-configuration
|
||||||
(user "misskey")
|
(user "misskey")
|
||||||
(group "docker")
|
(group "docker")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user