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
|
||||
(match-record-lambda <home-atuin-configuration>
|
||||
(atuin shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(if (member 'fish shells)
|
||||
(if (member 'fish shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(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
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-atuin-fish)))
|
||||
`(,@(if %home-atuin-fish
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-atuin-fish))
|
||||
|
||||
'())))
|
||||
(description "")))
|
||||
|
||||
|
||||
@ -76,19 +78,21 @@
|
||||
(define %home-direnv-fish
|
||||
(match-record-lambda <home-direnv-configuration>
|
||||
(direnv shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(if (member 'fish shells)
|
||||
(if (member 'fish shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(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
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-direnv-fish)))
|
||||
`(,@(if %home-direnv-fish
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-direnv-fish))
|
||||
|
||||
'())))
|
||||
(description "")))
|
||||
|
||||
|
||||
@ -107,17 +111,19 @@
|
||||
(define %home-zoxide-fish
|
||||
(match-record-lambda <home-zoxide-configuration>
|
||||
(zoxide shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(if (member 'fish shells)
|
||||
(if (member 'fish shells)
|
||||
(home-fish-extension
|
||||
(config
|
||||
(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
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-zoxide-fish)))
|
||||
`(,@(if %home-zoxide-fish
|
||||
(list (service-extension home-fish-service-type
|
||||
%home-zoxide-fish))
|
||||
|
||||
'())))
|
||||
(description "")))
|
||||
|
||||
@ -409,7 +409,9 @@
|
||||
(match-record-lambda <misskey-configuration>
|
||||
(image config data-directory log-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
|
||||
(user "misskey")
|
||||
(group "docker")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user