Commit 8d9ab244 authored by Alice Brenon's avatar Alice Brenon
Browse files

Add separate scheme file to declare modules (and add vpn-plugins to network-manager)

parent 29266f14
;; This is an operating system configuration generated ;; This is an operating system configuration generated
;; by the graphical installer. ;; by the graphical installer.
(use-modules (gnu)) (use-modules (gnu)
(use-service-modules desktop networking ssh xorg) (gnu system))
(load "packages.scm") (load "packages.scm")
(load "services.scm")
(operating-system (operating-system
(locale "fr_FR.utf8") (locale "fr_FR.utf8")
...@@ -22,13 +23,7 @@ ...@@ -22,13 +23,7 @@
(append (append
%extra-packages %extra-packages
%base-packages)) %base-packages))
(services (services (my-services keyboard-layout))
(append
(list (service xfce-desktop-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
%desktop-services))
(bootloader (bootloader
(bootloader-configuration (bootloader-configuration
(bootloader grub-efi-bootloader) (bootloader grub-efi-bootloader)
......
(use-service-modules desktop networking xorg)
(use-modules (srfi srfi-1))
(define (my-services keyboard-layout)
(append
(list (service xfce-desktop-service-type)
(set-xorg-configuration
(xorg-configuration
(keyboard-layout keyboard-layout))))
(modify-services %desktop-services
(network-manager-service-type
config =>
(network-manager-configuration
(inherit config)
(vpn-plugins (list network-manager-openconnect)))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment