logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).


L'icône rouge permet de télécharger chaque page du wiki visitée au format PDF et la grise au format ODT → ODT PDF Export

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révision Les deux révisions suivantes
utilisateurs:gonzoleri:config:accueil [12/06/2019 21:55]
gonzoleri [/etc/config.scm]
utilisateurs:gonzoleri:config:accueil [10/07/2019 21:34]
gonzoleri [/etc/config.scm]
Ligne 13: Ligne 13:
  
 <file scheme nom> <file scheme nom>
-    ​;; Operating system configuration for a full                               +  ​;; Operating system configuration for a full 
-    ;; "​desktop"​ environment with gnome and                                   ​ +;; "​desktop"​ environment with gnome and 
-    ;; gnome-shell ​                                                            +;; gnome-shell
-      +
-    (use-modules (gnu) (gnu system nss))                                      ; Le fichier est en langage sheme. Après quelque temps +
-    (use-service-modules desktop networking ssh)                              ; d'​utilisation,​ sa pratique est plus aisée.  +
-    (use-package-modules bootloaders certs gnome screen ssh)                  ; Module '​bootloaders'​ indispensable pour Dual-boot. +
-      +
-    (operating-system +
-      (host-name "​gnu"​) +
-      (timezone "​Europe/​Paris"​) +
-      (locale "​en_US.utf8"​) +
-      +
-    ;; Assuming /dev/sda is the target hard disk, and "​my-root"​ is +
-    ;; the label of the target root file system, and /dev/sda6 the +
-    ;; target partition for the GuixSD installation. +
-    (bootloader (grub-configuration (target "/​dev/​sda"​) (menu-entries ​        ; Ajout de '​menu-entries'​ +
-                   ​(list ​                                             ; Déclaration de la liste d'​entrées +
-    (menu-entry ​                                      ; Entrons dans le menu +
-            (label "​Debian GNU/​Linux"​) ​                       ; Titre de la distribution +
-                    (linux "/​boot/​vmlinuz-4.19.0-1-amd64"​) ​           ; Noyau à démarrer +
-                    (linux-arguments '​("​root=/​dev/​sda1"​)) ​            ; Debian se trouve sur /dev/sda1 +
-                    (initrd "/​boot/​initrd.img-4.19.0-1-amd64"​)))))) ​  ; C'est parti pour le démarrage ! +
-      +
-    (file-systems (cons (file-system +
-                          (device (file-system-label "​my-root"​)) +
-                          (mount-point "/"​) +
-                          (type "​ext4"​)) +
-                 ​%base-file-systems)) +
-      +
-    (swap-devices '​("/​dev/​sda5"​)) +
-      +
-    (users (cons (user-account +
-                  (name "​hubert"​) +
-                  (comment "​GuixSD user"​) +
-                  (group "​users"​) +
-                  (supplementary-groups '​("​wheel"​ "​netdev"​ +
-                                          "​audio"​ "​video"​)) +
-                  (home-directory "/​home/​hubert"​)) +
-                 ​%base-user-accounts)) +
-      +
-    ;; This is where we specify +
-    ;; system-wide packages. +
-    (packages (cons* gvfs                 ;for users mounts +
-                     ​nss-certs ​           ;for HTTPS access +
-                     ​screen +
-                     ​openssh +
-                    %base-packages)) +
-                     +
-    ;; Add GNOME and/or Xfce---we can choose at the log-in +
-    ;; screen with F1. +
-    (services (cons* (service gnome-desktop-service-type) +
-                    %desktop-services)) +
-      +
-    ;; Allow resolution of '​.local'​ host names with mDNS. +
-    (name-service-switch %mdns-host-lookup-nss)) +
-</​file>​+
  
 +(use-modules (gnu) (gnu system nss))
 +(use-service-modules desktop networking ssh)
 +(use-package-modules bootloaders certs gnome screen ssh)
 +
 +;;(define updatedb-job
 +;;  ;; Run '​updatedb'​ at 20AM every day.  Here we write the
 +;;  ;; job's action as a Scheme procedure.
 +;;  #~(job '​(next-hour '(20))
 +;;         ​(lambda ()
 +;;           ​(execl (string-append #$findutils "/​bin/​updatedb"​)
 +;;                  "​updatedb"​
 +;;                  "​--prunepaths=/​tmp /var/tmp /​gnu/​store"​))))
 + 
 +;;(define garbage-collector-job
 +;;  ;; Collect garbage 5 minutes after 17 o'​clock every day.
 +;;  ;; The job's action is a shell command.
 +;;  #~(job "5 17 * * *" ​           ;Vixie cron syntax
 +;;         "​guix gc -F 5G"))
 + 
 +;;(define idutils-job
 +;;  ;; Update the index database as user "​hubert"​ at 12:15PM
 +;;  ;; and 19:​15PM. ​ This runs from the user's home directory.
 +;;  #~(job '​(next-minute-from (next-hour '(12 19)) '(15))
 +;;         ​(string-append #$idutils "/​bin/​mkid src")
 +;;         #:​user "​hubert"​))
 +
 +(operating-system
 +  (host-name "​gnu"​)
 +  (timezone "​Europe/​Paris"​)
 +  (locale "​fr_FR.utf8"​)
 +
 +(keyboard-layout (keyboard-layout "​us"​ "​altgr-intl"​))  ​
 +  ​
 +;; Assuming /dev/sda is the target hard disk, and "​my-root"​ is
 +;; the label of the target root file system, and /dev/sda6 the
 +;; target partition for the GuixSD installation.
 +(bootloader (grub-configuration (target "/​dev/​sda"​) (menu-entries
 +                       (list
 +                        (menu-entry
 +                        (label "​Debian GNU/​Linux"​)
 +                        (linux "/​boot/​vmlinuz-4.19.0-1-amd64"​)
 +                        (linux-arguments '​("​root=/​dev/​sda1"​))
 +                        (initrd "/​boot/​initrd.img-4.19.0-1-amd64"​))))))
 +              ​
 +(file-systems (cons (file-system
 +                      (device (file-system-label "​my-root"​))
 +                      (mount-point "/"​)
 +                      (type "​ext4"​))
 +                     ​%base-file-systems))
 +
 +(swap-devices '​("/​dev/​sda5"​))
 +
 +(users (cons (user-account
 +              (name "​hubert"​)
 +              (comment "​GuixSD user")
 +              (group "​users"​)
 +              (supplementary-groups '​("​wheel"​ "​netdev"​
 +                                      "​audio"​ "​video"​))
 +              (home-directory "/​home/​hubert"​))
 +             ​%base-user-accounts))
 +
 +;; This is where we specify
 +;; system-wide packages.
 +(packages (cons* gvfs                 ;for users mounts
 +                 ​nss-certs ​           ;for HTTPS access
 +                 ​screen
 +                 ​openssh
 +                %base-packages))
 +                ​
 +;; Add GNOME and/or Xfce---we can choose at the log-in
 +;; screen with F1.
 +(services (cons* (service gnome-desktop-service-type)
 +                %desktop-services))
 +
 +;; Allow resolution of '​.local'​ host names with mDNS.
 +(name-service-switch %mdns-host-lookup-nss)) ​               ​
 +
 +      ​
 +                ​
 +</​file>​
  
 ===== Utilisation ===== ===== Utilisation =====
utilisateurs/gonzoleri/config/accueil.txt · Dernière modification: 28/02/2024 19:50 par gonzoleri

Pied de page des forums

Propulsé par FluxBB