dev.fron.io rc / 7c5414e
system: factors: doas: add a record type Tony Olagbaiye 5 months ago
1 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 (define-module (rc system factors doas)
1 ;#:use-module (srfi srfi-28)
12 #:use-module (guix gexp)
3 #:use-module (guix records)
24 #:use-module (gnu services)
35 #:use-module (gnu packages admin)
46 #:export (use-doas-services))
7
8 (define-record-type* <doas-configuration>
9 doas-configuration make-doas-configuration
10 doas-configuration?
11 (doas doas-configuration-doas (default opendoas))
12 (rules doas-configuration-rules
13 (default '("permit :wheel"))))
514
615 (define (use-doas-services services)
716 (cons*