2024-04-26 21:55:38 +00:00
|
|
|
(define-module (buer users)
|
|
|
|
#:use-module (buer secrets)
|
2024-10-06 12:06:20 +00:00
|
|
|
#:use-module (gnu packages bash)
|
2024-04-26 21:55:38 +00:00
|
|
|
#:use-module (gnu packages shells)
|
|
|
|
#:use-module (gnu system accounts)
|
|
|
|
#:use-module (guix gexp)
|
|
|
|
|
|
|
|
#:export (radio root))
|
|
|
|
|
|
|
|
(define radio
|
|
|
|
(user-account
|
|
|
|
(name "radio")
|
|
|
|
(password %radio-password)
|
|
|
|
(home-directory "/home/radio")
|
|
|
|
(shell (file-append fish "/bin/fish"))
|
|
|
|
(uid 1000)
|
|
|
|
(group "users")
|
2024-07-06 20:37:05 +00:00
|
|
|
(supplementary-groups `("audio" "kvm" "seat" "video" "wheel"))))
|
2024-04-26 21:55:38 +00:00
|
|
|
|
|
|
|
(define root
|
|
|
|
(user-account
|
|
|
|
(name "root")
|
|
|
|
(password %root-password)
|
|
|
|
(home-directory "/root")
|
|
|
|
(uid 0)
|
|
|
|
(group "root")
|
2024-10-06 12:06:20 +00:00
|
|
|
(shell (file-append bash "/bin/bash"))))
|