Guest User

Untitled

a guest
Apr 11th, 2024
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 2.22 KB | None | 0 0
  1. (use-modules         (gnu)
  2.              (gnu packages emacs)
  3.              (gnu packages linux))
  4. (use-service-modules networking ssh virtualization)
  5. (use-package-modules certs tmux version-control
  6.              ssh shells vim)
  7.  
  8. (operating-system
  9.  
  10.  (kernel linux-libre-6.7)
  11.  
  12.  (host-name "poincare")
  13.  
  14.  (timezone "UTC")
  15.  
  16.  (locale "en_US.utf8")
  17.  
  18.  (bootloader (bootloader-configuration
  19.               (bootloader grub-efi-bootloader)
  20.           (terminal-outputs '(console))
  21.           (timeout 10)
  22.               (targets '("/boot/efi"))))
  23.  
  24.  (kernel-arguments '("console=tty" "modprobe.blacklist=usbmouse,usbkbd"))
  25.  
  26.  (file-systems (append (list
  27.             (file-system
  28.              (device (uuid "38af4c98-42b6-389b-ad36-132e38af4c98"))
  29. ;            (device "/dev/vda2")
  30.              (mount-point "/")
  31.              (options "noatime")
  32.              (type "ext4"))
  33.            
  34.             (file-system
  35.              (device "/dev/vda1")
  36.              (mount-point "/boot/efi")
  37.              (type "vfat")))
  38.                
  39.                %base-file-systems))
  40.  
  41.  (users (cons (user-account
  42.                (name "abbe")
  43.                (group "users")
  44.            (shell (file-append zsh "/bin/zsh"))
  45.                (supplementary-groups '("wheel")))
  46.               %base-user-accounts))
  47.  
  48.  (packages (append (list nss-certs tmux emacs-no-x vim git fossil)
  49.            %base-packages))
  50.  
  51.  (services (append (list (service dhcp-client-service-type)
  52.  
  53.              (service openssh-service-type
  54.                   (openssh-configuration
  55.                    (openssh openssh-sans-x)
  56.                    (port-number 22)
  57.                    (accepted-environment '("COLORTERM" "LC_*" "LANG"))
  58.                    (permit-root-login 'prohibit-password)
  59.                    (password-authentication? #f)
  60.                    (use-pam? #t)
  61.                    (authorized-keys
  62.                     `(("abbe" ,(local-file "authorized-keys.pub"))
  63.                       ("root" ,(local-file "authorized-keys.pub"))))
  64.                    ))
  65.  
  66.              (service qemu-guest-agent-service-type
  67.                   (qemu-guest-agent-configuration)))
  68.  
  69.            (modify-services %base-services
  70.                     (guix-service-type config => (guix-configuration
  71.                                   (inherit config)
  72.                                   (substitute-urls
  73.                                    (append (list "https://substitutes.nonguix.org")
  74.                                        %default-substitute-urls))
  75.                                   (authorized-keys
  76.                                    (append (list (local-file "./nonguix-signing-key.pub"))
  77.                                        %default-authorized-guix-keys))))))))
  78.  
  79.  
Advertisement
Add Comment
Please, Sign In to add comment