system-configs/vpn.metznet.ca.scm

38 lines
1.4 KiB
Scheme

;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.
(use-modules (gnu)
(metznet aws)
(metznet machines vpn)
(metznet system base-system)
(gnu packages vim)
(gnu packages ssh)
(gnu packages python-web)
(gnu packages shells))
(operating-system
(inherit vpn.metznet.ca)
(bootloader (bootloader-configuration
(bootloader grub-minimal-bootloader)
(targets '("/dev/nvme0n1"))))
(file-systems (cons (file-system
(device (file-system-label "vpn-guix-data"))
(mount-point "/")
(type "ext4")) %base-file-systems))
(users (cons (user-account
(name "aws")
(group "root")
(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) NOPASSWD:ALL"
"%root ALL=(ALL:ALL) NOPASSWD:ALL" "")
"\n")))
(packages (cons* openssh awscli neovim %metznet-base-packages))
(services
2023-12-03 02:18:14 -07:00
(cons* (service aws-service-type) vpn-services)))