Compare commits

..

65 Commits

Author SHA1 Message Date
Luis Guilherme Coelho a2da805db2
buer: shepherd-services: Add repl 2024-11-25 14:29:50 -03:00
Luis Guilherme Coelho 55e3457d42
home-environments: radio: Add shepherd-service:repl 2024-11-25 14:29:50 -03:00
Luis Guilherme Coelho cd0ad6cdc0
buer: rules: Allow wheel group to trigger the snapshot-@home timer 2024-11-25 14:29:49 -03:00
Luis Guilherme Coelho e4d923dd41
operating-systems: buer: Remove unnecessary comments 2024-11-25 14:29:49 -03:00
Luis Guilherme Coelho c4f002b98b
operating-systems: buer: Use spawn-shell-command instead of system since a lambda action should be suspendable 2024-11-25 14:29:49 -03:00
Luis Guilherme Coelho 153fda0b68
home-environments: radio: Use spawn-shell-command instead of system since a lambda action should be suspendable 2024-11-25 14:29:45 -03:00
Luis Guilherme Coelho 90b6c5d6c2
operating-systems: buer: Add comment on essential-services section 2024-11-25 14:29:45 -03:00
Luis Guilherme Coelho 635bf92b33
home-environments: radio: Setup timer-related shepherd-services 2024-11-25 14:29:41 -03:00
Luis Guilherme Coelho 99675cf4fd
operating-systems: buer: Setup timer-related shepherd-services 2024-11-25 14:29:40 -03:00
Luis Guilherme Coelho dee7ef2278
home-environments: radio: Add shepherd/modules to GUILE_LOAD_PATH 2024-11-25 14:29:40 -03:00
Luis Guilherme Coelho b29b97ecdc
radio: files: Add kew 2024-11-25 14:29:40 -03:00
Luis Guilherme Coelho 0a0e377d5f
operating-systems: buer: Use shepherd 1.0.0rc1 2024-11-25 14:29:40 -03:00
Luis Guilherme Coelho 9e8dd2e5fb
buer: file-systems: Add an @snapshot subvolume 2024-11-25 14:29:40 -03:00
Luis Guilherme Coelho 1f0b494c92
home-environments: radio: Use shepherd 1.0.0rc1 2024-11-25 14:29:39 -03:00
Luis Guilherme Coelho 41e30ceea3
home-environments: radio: Remove channel:saayix 2024-11-25 14:29:39 -03:00
Luis Guilherme Coelho 175f65b36a
radio: files: senpai: Fix on-highlight script 2024-11-25 14:29:39 -03:00
Luis Guilherme Coelho b554ff7c61
home-environments: radio: Add packages:music 2024-11-25 14:29:39 -03:00
Luis Guilherme Coelho 0a9e7836d1
buer: kernel: Refer to right defconfig location an use latest available kernel 2024-11-25 14:29:39 -03:00
Luis Guilherme Coelho b080b626f5
radio: files: newsraft: Update feeds file syntax 2024-11-25 14:29:39 -03:00
Luis Guilherme Coelho 48dfffc5ec
radio: packages: Remove riverguile and river-bnf 2024-11-25 14:29:39 -03:00
Luis Guilherme Coelho 756c977ff0
operating-systems: buer: Remove psmisc utils 2024-11-25 14:29:38 -03:00
Luis Guilherme Coelho d2fd2d91bc
operating-systems: buer: Remove wireguard-tools, since it's currently unused 2024-11-25 14:29:38 -03:00
Luis Guilherme Coelho 7fe98bb4eb
operating-systems: buer: Remove extra comment tag in module imports 2024-11-25 14:29:38 -03:00
Luis Guilherme Coelho 93e55ebeea
buer: file-systems: Use in /run and /var/run the file-system-flags and file-system-options proposed by Hilton Chain in issues.guix.gnu.org/73494 2024-11-25 14:29:38 -03:00
Luis Guilherme Coelho a92f73cd17
radio: packages: Remove keepassxc 2024-11-25 14:29:38 -03:00
Luis Guilherme Coelho 215f23ac08
radio: files: Add senpai 2024-11-25 14:29:38 -03:00
Luis Guilherme Coelho afe083bf9f
home-environments: radio: Add !pass abbreviation for obtaining passwords more quickly 2024-11-25 14:29:37 -03:00
Luis Guilherme Coelho 32dc462518
buer: file-systems: Remove /etc/wireguard as persistent directory, since it's currently unused 2024-11-25 14:29:37 -03:00
Luis Guilherme Coelho 9134370c23
operating-systems: buer: Add /swap/swapfile for eventual long hibernations 2024-11-25 14:29:37 -03:00
Luis Guilherme Coelho 92aa147de0
operating-systems: buer: Remove extra slash when symlinking persistent files 2024-11-25 14:29:37 -03:00
Luis Guilherme Coelho 0d8a3530d8
operating-systems: buer: Remove unecessary module import 2024-11-25 14:29:37 -03:00
Luis Guilherme Coelho cb926a465f
operating-systems: buer: Remove avahi 2024-11-25 14:29:37 -03:00
Luis Guilherme Coelho 71085e8bdc
home-environments: radio: Set PASSWORD_STORE_DIR 2024-11-25 14:29:37 -03:00
Luis Guilherme Coelho 21842d797f
home-environments: radio: Add saayix 2024-11-25 14:29:36 -03:00
Luis Guilherme Coelho 56ab23db09
radio: channels: Add saayix 2024-11-25 14:29:36 -03:00
Luis Guilherme Coelho 8936be6122
radio: files: river: Bind senpai to super+s 2024-11-25 14:29:36 -03:00
Luis Guilherme Coelho 3bfe6aef0a
radio: packages: Add senpai, password-store and tessen 2024-11-25 14:29:36 -03:00
Luis Guilherme Coelho 023c2ff278
radio: packages: Remove perl (now propagated by kakoune), and re-declare red-eclipse and xonotic 2024-11-25 14:29:36 -03:00
Luis Guilherme Coelho 7c7784f712
radio: files: kak: Add missing backslash in kakrc 2024-11-25 14:29:36 -03:00
Luis Guilherme Coelho 2e333cfd52
radio: files: sioyek: Disable highlight 2024-11-25 14:29:35 -03:00
Luis Guilherme Coelho 4bf0c07e7e
radio: files: lf: Set watch to true in lfrc 2024-11-25 14:29:35 -03:00
Luis Guilherme Coelho 4fbfa8455f
radio: files: kak: Remove stateful management of plugins in kakrc 2024-11-25 14:29:35 -03:00
Luis Guilherme Coelho 71d42de750
radio: packages: Manage kakoune plugins declaratively 2024-11-25 14:29:35 -03:00
Luis Guilherme Coelho 0d98814e7f
home-environments: radio: Add missing comma in !network abbreviation definition 2024-11-25 14:29:35 -03:00
Luis Guilherme Coelho e586332b9c
home-environments: Add !network abbreviation to restart networking and wpa-supplicant system services 2024-11-25 14:29:35 -03:00
Luis Guilherme Coelho 8c3fb4ef2b
home-environments: radio: Add ~/.config/guix/home.scm as a special file that symlinks to (home-environments radio) module location 2024-11-25 14:29:35 -03:00
Luis Guilherme Coelho a94c55bc8d
operating-systems: buer: Remove guix-publish service 2024-11-25 14:29:34 -03:00
Luis Guilherme Coelho c610f2f584
operating-systems: buer: Add /etc/config.scm as a special file that symlinks to (operating-systems buer) module location 2024-11-25 14:29:34 -03:00
Luis Guilherme Coelho b0cb05691f
operating-systems: buer: Remove extra indicator comment 2024-11-25 14:29:34 -03:00
Luis Guilherme Coelho 00101cc001
buer: file-systems: Remove /etc/config.scm from persistent files 2024-11-25 14:29:34 -03:00
Luis Guilherme Coelho 716148ec93
radio: files: btop: Disable showing swap as a partition 2024-11-25 14:29:34 -03:00
Luis Guilherme Coelho 6f8d4a801c
operating-systems: buer: Set uncompressed zram size to 2*ram, use greetd-service-type from (radix services greetd) 2024-11-25 14:29:34 -03:00
Luis Guilherme Coelho c2fb04f2b8
radio: files: newsraft: Remove feed entries related to FreeBSD 2024-11-25 14:29:34 -03:00
Luis Guilherme Coelho 516455fd24
operating-systems: buer: Remove guix-for-channels declaration 2024-11-25 14:29:33 -03:00
Luis Guilherme Coelho 819748a90c
home-environments: radio: temporarly remove packages:games and some development packages 2024-11-25 14:29:33 -03:00
Luis Guilherme Coelho 22f1906d61
radio: packages: Use newsraft from (gnu packages syndication) 2024-11-25 14:29:33 -03:00
Luis Guilherme Coelho b045c14bf9
operating-systems: buer: Use guix-for-channels to instantiate a custom guix 2024-11-25 14:29:33 -03:00
Luis Guilherme Coelho a5d37057db
buer: file-systems: Remove /gnu/persist/mnt 2024-11-25 14:29:33 -03:00
Luis Guilherme Coelho e29f80d43b
operating-systems: buer: Add installation scripts 2024-11-25 14:29:33 -03:00
Luis Guilherme Coelho b4a4daa914
operating-systems: buer: Move to impermanence setup 2024-11-25 14:29:32 -03:00
Luis Guilherme Coelho 322e24af31
operating-systems: buer: Add https://guix.bordeaux.inria.fr 2024-11-25 14:29:32 -03:00
Luis Guilherme Coelho e89d1fb601
buer: substitute-keys: Add inria.pub 2024-11-25 14:29:32 -03:00
Luis Guilherme Coelho 1810fac47d
operating-systems: buer: Rename operating-system to buer 2024-11-25 14:29:32 -03:00
Luis Guilherme Coelho 0400b67ac8
home-environments: radio: Rename home-environment to radio, minor changes 2024-11-25 14:29:32 -03:00
Luis Guilherme Coelho 1730718338
operating-systems: buer: Update kernel version 2024-11-25 14:29:27 -03:00
4 changed files with 31 additions and 8 deletions

View File

@ -147,7 +147,8 @@
(service home-shepherd-service-type (service home-shepherd-service-type
(home-shepherd-configuration (home-shepherd-configuration
(shepherd (@ (shepherd-package) shepherd)) (shepherd (@ (shepherd-package) shepherd))
(services (list shepherd-service:timer (services (list shepherd-service:repl
shepherd-service:timer
shepherd-service:wake-up)))) shepherd-service:wake-up))))
#|Shell services|# #|Shell services|#

View File

@ -3,7 +3,21 @@
#:use-module (gnu services shepherd) #:use-module (gnu services shepherd)
#:use-module (shepherd service timer) #:use-module (shepherd service timer)
#:export (wake-up timer)) #:export (repl timer wake-up))
#|Repl|#
(define repl
(shepherd-service
(provision '(repl))
(modules '((shepherd service repl)))
(free-form #~(repl-service))))
#|Timers|#
(define timer
(shepherd-service
(provision '(timer))
(modules '((shepherd service timer)))
(free-form #~(timer-service))))
(define timer-trigger-action (define timer-trigger-action
(shepherd-action (shepherd-action
@ -24,8 +38,3 @@ next calendar event.")))
(stop #~(make-timer-destructor)) (stop #~(make-timer-destructor))
(actions (list timer-trigger-action)))) (actions (list timer-trigger-action))))
(define timer
(shepherd-service
(provision '(timer))
(modules '((shepherd service timer)))
(free-form #~(timer-service))))

View File

@ -35,6 +35,10 @@
(command "herd") (command "herd")
(args (list action)))) (args (list action))))
`("status" "detailed-status")) `("status" "detailed-status"))
(list (permit (identity ":wheel")
(nopass? #t)
(command "herd")
(args (list "trigger" "snapshot-@home"))))
(flat-map (lambda (service action) (flat-map (lambda (service action)
(permit (identity ":wheel") (permit (identity ":wheel")
(nopass? #t) (nopass? #t)

View File

@ -1,10 +1,19 @@
(define-module (buer shepherd-services) (define-module (buer shepherd-services)
#:use-module (guix gexp) #:use-module (guix gexp)
#:use-module (gnu services shepherd) #:use-module (gnu services shepherd)
#:use-module (shepherd service repl)
#:use-module (shepherd service timer) #:use-module (shepherd service timer)
#:export (guix-gc snapshot-@home timer)) #:export (guix-gc snapshot-@home repl timer))
#|Repl|#
(define repl
(shepherd-service
(provision '(repl))
(modules '((shepherd service repl)))
(free-form #~(repl-service))))
#|Timers|#
(define timer-trigger-action (define timer-trigger-action
(shepherd-action (shepherd-action
(name 'trigger) (name 'trigger)