mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-07-08 17:35:21 +00:00
Compare commits
2 Commits
1f7b63ae66
...
f1f47b6e2d
Author | SHA1 | Date | |
---|---|---|---|
|
f1f47b6e2d | ||
|
10251b17f0 |
@ -45,21 +45,19 @@
|
||||
(define %home-atuin-fish
|
||||
(match-record-lambda <home-atuin-configuration>
|
||||
(atuin shells)
|
||||
(if (member 'fish shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(home-fish-extension
|
||||
(config
|
||||
(if (member 'fish shells)
|
||||
(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
|
||||
(service-type
|
||||
(name 'atuin)
|
||||
(extensions
|
||||
`(,@(if %home-atuin-fish
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-atuin-fish))
|
||||
|
||||
'())))
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-atuin-fish)))
|
||||
(description "")))
|
||||
|
||||
|
||||
@ -78,21 +76,19 @@
|
||||
(define %home-direnv-fish
|
||||
(match-record-lambda <home-direnv-configuration>
|
||||
(direnv shells)
|
||||
(if (member 'fish shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(home-fish-extension
|
||||
(config
|
||||
(if (member 'fish shells)
|
||||
(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
|
||||
(service-type
|
||||
(name 'direnv)
|
||||
(extensions
|
||||
`(,@(if %home-direnv-fish
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-direnv-fish))
|
||||
|
||||
'())))
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-direnv-fish)))
|
||||
(description "")))
|
||||
|
||||
|
||||
@ -111,19 +107,17 @@
|
||||
(define %home-zoxide-fish
|
||||
(match-record-lambda <home-zoxide-configuration>
|
||||
(zoxide shells)
|
||||
(if (member 'fish shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(home-fish-extension
|
||||
(config
|
||||
(if (member 'fish shells)
|
||||
(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
|
||||
(service-type
|
||||
(name 'zoxide)
|
||||
(extensions
|
||||
`(,@(if %home-zoxide-fish
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-zoxide-fish))
|
||||
|
||||
'())))
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-zoxide-fish)))
|
||||
(description "")))
|
||||
|
@ -409,9 +409,7 @@
|
||||
(match-record-lambda <misskey-configuration>
|
||||
(image config data-directory log-file )
|
||||
(let ((config-file
|
||||
(mixed-text-file
|
||||
"misskey.yaml"
|
||||
#~(string-append #$@(yaml-serialize config) "\n"))))
|
||||
(mixed-text-file "misskey.yaml" (yaml-serialize config))))
|
||||
(list (oci-container-configuration
|
||||
(user "misskey")
|
||||
(group "docker")
|
||||
|
Loading…
Reference in New Issue
Block a user