Added ldap.metznet.ca.scm
parent
5e3a727a85
commit
ddf67a370f
@ -0,0 +1,40 @@
|
||||
;; This is an operating system configuration template
|
||||
;; for a "bare bones" setup, with no X11 display server.
|
||||
|
||||
(use-modules (gnu)
|
||||
(metznet aws)
|
||||
(metznet machines ldap)
|
||||
(metznet system base-system)
|
||||
(gnu packages vim)
|
||||
(gnu packages ssh)
|
||||
(gnu packages python-web)
|
||||
(gnu packages shells))
|
||||
|
||||
(operating-system
|
||||
(inherit ldap.metznet.ca)
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader grub-minimal-bootloader)
|
||||
(targets '("/dev/nvme0n1"))))
|
||||
(file-systems (cons (file-system
|
||||
(device (file-system-label "ldap-guix-data"))
|
||||
(mount-point "/")
|
||||
(type "ext4")) %base-file-systems))
|
||||
(groups (cons (user-group
|
||||
(system? #t)
|
||||
(name "admin")) %metznet-base-groups))
|
||||
(users (cons (user-account
|
||||
(name "aws")
|
||||
(group "admin")
|
||||
(shell (file-append zsh "/bin/zsh"))) %metznet-base-user-accounts))
|
||||
|
||||
(sudoers-file (plain-file "sudoers"
|
||||
(string-join (list "Defaults mail_badpass"
|
||||
"root ALL=(ALL:ALL) ALL"
|
||||
"%admin ALL=(ALL:ALL) ALL" "")
|
||||
"\n")))
|
||||
|
||||
(packages (cons* openssh awscli neovim %metznet-base-packages))
|
||||
|
||||
(services
|
||||
(cons* (service aws-service-type) ldap-services)))
|
||||
|
Loading…
Reference in New Issue