Compare commits

..

7 Commits

19 changed files with 88 additions and 58 deletions

View File

@ -25,11 +25,17 @@
#|C|# #:use-module (guix channels)
#|P|# #:use-module (guix packages)
#|Radio|#
#|C|# #:use-module ((radio channels) #:prefix channel:)
#|P|# #:use-module ((radio packages) #:prefix packages:)
#|M|# #:use-module ((radio mime-types) #:prefix mime-types:)
#|S|# #:use-module ((radio shepherd-services) #:prefix shepherd-service:)
#|Home environments radio|#
#|C|# #:use-module ((home-environments radio channels)
#:prefix channel:)
#|F|# #:use-module ((home-environments radio fish-configs)
#:prefix fish-config:)
#|P|# #:use-module ((home-environments radio packages)
#:prefix packages:)
#|M|# #:use-module ((home-environments radio mime-types)
#:prefix mime-types:)
#|S|# #:use-module ((home-environments radio shepherd-services)
#:prefix shepherd-service:)
#|Radix|#
#|C|# #:use-module (radix combinators)
@ -37,6 +43,7 @@
#|Radix packages|#
#|F|# #:use-module (radix packages fish-xyz)
#|S|# #:use-module (radix packages shepherd)
#|Radix home services|#
#||# #:use-module (radix home services)
@ -108,7 +115,7 @@
#|Shepherd services|#
(service home-shepherd-service-type
(home-shepherd-configuration
(shepherd (@ (shepherd-package) shepherd))
(shepherd shepherd-next)
(services (list shepherd-service:repl
shepherd-service:timer
shepherd-service:wake-up))))
@ -236,28 +243,21 @@
(plugins
(list fish-fzf))
(config
(list (plain-file "fish-fzf.fish"
(string-join
`("fzf_configure_bindings"
"--directory=@@"
"--git_log=@l"
"--git_status=@s"
"--history=@h"
"--processes="
"--variables=")))))
(list fish-config:fzf))
(environment-variables
`(("LS_COLORS" . "'di=01;34:ln=01;36:or=01;31'")
("fzf_preview_dir_cmd" . "''")
("FZF_DEFAULT_OPTS"
. ("--filepath-word"
"--height=~40%"
. ("--color=fg:blue:bold,hl:#cccccc"
"--color=fg+:blue:bold,hl+:#cccccc"
"--color=prompt:blue,pointer:blue"
"--color=info:#ffffff,border:#000000"
"--filepath-word"
"--height=~60%"
"--layout=reverse"
"--preview=''"
"--scheme=path"
"--scroll-off=2"
"--color=fg:blue:bold,hl:#cccccc"
"--color=fg+:blue:bold,hl+:#cccccc"
"--color=prompt:blue,pointer:blue"
"--color=info:#ffffff,border:#000000"))
"--scroll-off=2"))
("fzf_base_fd_opts" . ("--exclude='\\..*'"
"--follow"
"--type directory"))
@ -282,14 +282,10 @@
("GUILE_HISTORY" . "$XDG_CACHE_HOME/guile/history")
("GUILE_LOAD_PATH"
. ,(format #f "~?~?"
"~@{:$HOME/areas/code/scm/~a~}"
'(radix
shepherd/modules
shepherd/.guix/modules
zero
zero/operating-systems
zero/home-environments)
"~@{:~a/share/guile/site/3.0~}"
"~@{$HOME/areas/code/scm/~a:~}"
'(shepherd/modules
zero)
"~@{~a/share/guile/site/3.0:~}"
'($HOME/.guix-home/profile
$XDG_CONFIG_HOME/guix/current
/run/current-system/profile)))

View File

@ -1,8 +1,8 @@
(define-module (radio channels)
(define-module (home-environments radio channels)
#:use-module (guix channels)
#:use-module (gnu packages package-management)
#:export (guix radix saayix))
#:export (guix radix saayix shepherd))
(define guix
(channel
@ -36,3 +36,14 @@
"12540f593092e9a177eb8a974a57bb4892327752"
(openpgp-fingerprint
"3FFA 7335 973E 0A49 47FC 0A8C 38D5 96BE 07D3 34AB")))))
(define shepherd
(channel
(name 'shepherd)
(url "https://git.savannah.gnu.org/git/shepherd.git")
(branch "main")
(introduction
(make-channel-introduction
"788a6d6f1d5c170db68aa4bbfb77024fdc468ed3"
(openpgp-fingerprint
"3CE464558A84FDC69DB40CFB090B11993D9AEBB5")))))

View File

@ -0,0 +1,11 @@
(define-module (home-environments radio fish-configs)
#:use-module (guix gexp)
#:export (fzf))
(define fzf
(plain-file "fish-fzf.fish"
(string-join
`("fzf_configure_bindings --directory=@@ --history= --processes= "
"bind -M default / _fzf_search_history")
"\n")))

View File

@ -1,4 +1,4 @@
(define-module (radio mime-types)
(define-module (home-environments radio mime-types)
#:export (browser editor file-manager audio video image document))
(define browser

View File

@ -1,4 +1,4 @@
(define-module (radio packages)
(define-module (home-environments radio packages)
#|GNU packages|#
#|A|# #:use-module (gnu packages admin)
#|B|# #:use-module (gnu packages bittorrent)

View File

@ -1,4 +1,4 @@
(define-module (radio shepherd-services)
(define-module (home-environments radio shepherd-services)
#:use-module (guix gexp)
#:use-module (gnu services shepherd)
#:use-module (shepherd service timer)

View File

@ -55,6 +55,7 @@
#|Radix packages|#
#|A|# #:use-module (radix packages admin)
#|L|# #:use-module (radix packages linux)
#|S|# #:use-module (radix packages shepherd)
#|T|# #:use-module (radix packages text-editors)
#|Radix services|#
@ -68,23 +69,23 @@
#|M|# #:use-module (radix system monitoring)
#|Buer|#
#|B|# #:use-module ((buer build-machines)
#|B|# #:use-module ((operating-systems buer build-machines)
#:prefix build-machine:)
#|C|# #:use-module ((buer channels)
#|C|# #:use-module ((operating-systems buer channels)
#:prefix channel:)
#|F|# #:use-module ((buer files)
#|F|# #:use-module ((operating-systems buer files)
#:prefix file:)
#:use-module ((buer file-systems)
#:use-module ((operating-systems buer file-systems)
#:prefix file-system:)
#|P|# #:use-module ((buer privilege)
#|P|# #:use-module ((operating-systems buer privilege)
#:prefix privileged-programs:)
#|R|# #:use-module ((buer rules)
#|R|# #:use-module ((operating-systems buer rules)
#:prefix rules:)
#|S|# #:use-module ((buer shepherd-services)
#|S|# #:use-module ((operating-systems buer shepherd-services)
#:prefix shepherd-service:)
#:use-module ((buer substitute-keys)
#:use-module ((operating-systems buer substitute-keys)
#:prefix substitute-key:)
#|U|# #:use-module ((buer users)
#|U|# #:use-module ((operating-systems buer users)
#:prefix user:)
#|SRFIs|#
@ -176,7 +177,7 @@
(operating-system-default-essential-services this-operating-system)
(shepherd-root-service-type
_ => (shepherd-configuration
(shepherd (@ (shepherd-package) shepherd))
(shepherd shepherd-next)
(services (list shepherd-service:guix-gc
shepherd-service:snapshot-@home
shepherd-service:timer))))))

View File

@ -1,4 +1,4 @@
(define-module (buer build-machines)
(define-module (operating-systems buer build-machines)
#:use-module ((buer ssh-keys) #:prefix ssh-key:)
#:use-module (guix gexp)

View File

@ -1,8 +1,8 @@
(define-module (buer channels)
(define-module (operating-systems buer channels)
#:use-module (guix channels)
#:use-module (gnu packages package-management)
#:export (guix radix))
#:export (guix radix shepherd))
(define guix
(channel
@ -25,3 +25,14 @@
"f9130e11e35d2c147c6764ef85542dc58dc09c4f"
(openpgp-fingerprint
"F164 709E 5FC7 B32B AEC7 9F37 1F2E 76AC E3F5 31C8")))))
(define shepherd
(channel
(name 'shepherd)
(url "https://git.savannah.gnu.org/git/shepherd.git")
(branch "main")
(introduction
(make-channel-introduction
"788a6d6f1d5c170db68aa4bbfb77024fdc468ed3"
(openpgp-fingerprint
"3CE464558A84FDC69DB40CFB090B11993D9AEBB5")))))

View File

@ -1,4 +1,4 @@
(define-module (buer file-systems)
(define-module (operating-systems buer file-systems)
#:use-module (gnu system file-systems)
#:export (partition:guix

View File

@ -1,4 +1,4 @@
(define-module (buer files)
(define-module (operating-systems buer files)
#:use-module (gnu)
#:export (thinkfan-config))

View File

@ -1,4 +1,4 @@
(define-module (buer kernel)
(define-module (operating-systems buer kernel)
#:use-module (guix gexp)
#:use-module (gnu packages linux))

View File

@ -1,4 +1,4 @@
(define-module (buer privilege)
(define-module (operating-systems buer privilege)
#:use-module (gnu packages admin)
#:use-module (gnu packages linux)
#:use-module (gnu system privilege)

View File

@ -1,4 +1,4 @@
(define-module (buer rules)
(define-module (operating-systems buer rules)
#:use-module (radix services admin)
#:use-module (radix utils)
#:export (general

View File

@ -1,4 +1,4 @@
(define-module (buer secrets)
(define-module (operating-systems buer secrets)
#:use-module (gnu)
#:export (%radio-password %root-password))

View File

@ -1,4 +1,4 @@
(define-module (buer shepherd-services)
(define-module (operating-systems buer shepherd-services)
#:use-module (guix gexp)
#:use-module (gnu services shepherd)
#:use-module (shepherd service repl)

View File

@ -1,4 +1,4 @@
(define-module (buer ssh-keys)
(define-module (operating-systems buer ssh-keys)
#:use-module (gnu)
#:export (yumiko.pub))

View File

@ -1,4 +1,4 @@
(define-module (buer substitute-keys)
(define-module (operating-systems buer substitute-keys)
#:use-module (gnu)
#:export (berlin.pub
genenetwork.pub

View File

@ -1,4 +1,4 @@
(define-module (buer users)
(define-module (operating-systems buer users)
#:use-module (buer secrets)
#:use-module (gnu packages bash)
#:use-module (gnu packages shells)