История изменений
Исправление znavko, (текущая версия) :
here it is my config for Gnome+Wayland:
# cat config.scm
;-*- mode: Scheme; -*-
;;this is znavko's cute config
(use-modules (gnu) (gnu system nss)
(gnu system locale) ;;for locale-definition
(gnu services desktop)
(srfi srfi-1) ;;for remove function
(gnu services networking) ;;for remove ntp
(gnu services avahi) ;;for remove avahi
(gnu services xorg)
(gnu packages admin) ;;for wpa_supplicant
(gnu services sddm) ;;for wayland gnome
)
(use-service-modules desktop)
(use-package-modules certs gnome)
(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
(bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda")))
(file-systems (cons (file-system (device "/dev/sda1") (mount-point "/") (type "ext4")) %base-file-systems))
(swap-devices '("/dev/sda2"))
(users (cons* (user-account (name "bob") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/bob"))
(user-account (name "mom") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/mom"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
wpa-supplicant
%base-packages))
(services (cons*
;(service xfce-desktop-service-type)
(service gnome-desktop-service-type)
(service dhcp-client-service-type)
(sddm-service
(sddm-configuration
(display-server "wayland")))
(modify-services
(remove (lambda (service)
(member (service-kind service)
(list ntp-service-type avahi-service-type
bluetooth-service network-manager-service-type
gdm-service-type)))
%desktop-services) ;end of remove lambda services
(wpa-supplicant-service-type config =>
(wpa-supplicant-configuration
(interface "wlp2s0")
(config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
(elogind-service-type
c => (elogind-configuration (handle-lid-switch 'ignore)))
) ;;end of modify-services
)) ;;end of services
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss)
;;blacklist ugly sound speaker, blacklist ideapad_laptop for prevent soft blocking wlan
(kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth,ideapad_laptop"))
) ;;end of operating-system
for reconfigure open another tty session with Ctrl + Alt + F2 (for example) and start `guix system reconfigure config.scm`
essential are these lines:
(use-modules ...
(gnu services sddm) ;;for wayland gnome
)
...
(operating-system
(services (cons*
...
(service gnome-desktop-service-type)
...
(sddm-service
(sddm-configuration
(display-server "wayland")))
...
)
)
http://0x0.st/zT3Z.jpg — here you choose the Gnome Wayland session in sddm
http://0x0.st/zT3P.jpg — here it is my gnome (quality is underground)
other settings in my config reference to networking (wpa+dhclient, also disabling pc-speaker and extra wifi modules, disabling unnecessary services from %desktop-services and so on...)
the problem is that I cannot figure why my apps use only english layout instead of russian that i've chose?
Исходная версия znavko, :
GNOME 3 + Wayland Guix config
here it is my config for Gnome+Wayland:
# cat config.scm
;-*- mode: Scheme; -*-
;;this is znavko's cute config
(use-modules (gnu) (gnu system nss)
(gnu system locale) ;;for locale-definition
(gnu services desktop)
(srfi srfi-1) ;;for remove function
(gnu services networking) ;;for remove ntp
(gnu services avahi) ;;for remove avahi
(gnu services xorg)
(gnu packages admin) ;;for wpa_supplicant
(gnu services sddm) ;;for wayland gnome
)
(use-service-modules desktop)
(use-package-modules certs gnome)
(operating-system (host-name "antelope") (timezone "Europe/Moscow") (locale "en_US.utf8")
(bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda")))
(file-systems (cons (file-system (device "/dev/sda1") (mount-point "/") (type "ext4")) %base-file-systems))
(swap-devices '("/dev/sda2"))
(users (cons* (user-account (name "bob") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/bob"))
(user-account (name "mom") (group "users")
(supplementary-groups '("wheel" "netdev" "audio" "video"))
(home-directory "/home/mom"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
gvfs ;for user mounts
wpa-supplicant
%base-packages))
(services (cons*
;(service xfce-desktop-service-type)
(service gnome-desktop-service-type)
(service dhcp-client-service-type)
(sddm-service
(sddm-configuration
(display-server "wayland")))
(modify-services
(remove (lambda (service)
(member (service-kind service)
(list ntp-service-type avahi-service-type
bluetooth-service network-manager-service-type
gdm-service-type)))
%desktop-services) ;end of remove lambda services
(wpa-supplicant-service-type config =>
(wpa-supplicant-configuration
(interface "wlp2s0")
(config-file "/etc/wpa_supplicant/wpa_supplicant.conf")))
(elogind-service-type
c => (elogind-configuration (handle-lid-switch 'ignore)))
) ;;end of modify-services
)) ;;end of services
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss)
;;blacklist ugly sound speaker, blacklist ideapad_laptop for prevent soft blocking wlan
(kernel-arguments '("modprobe.blacklist=pcspkr,snd_pcsp,bluetooth,ideapad_laptop"))
) ;;end of operating-system
for reconfigure open another tty session with Ctrl + Alt + F2 (for example) and start `guix system reconfigure config.scm`
essential are these lines:
(use-modules ...
(gnu services sddm) ;;for wayland gnome
)
...
(operating-system
(services (cons*
;(service xfce-desktop-service-type)
(service gnome-desktop-service-type)
(service dhcp-client-service-type)
(sddm-service
(sddm-configuration
(display-server "wayland")))
...
)
)
http://0x0.st/zT3Z.jpg — here you choose the Gnome Wayland session in sddm
http://0x0.st/zT3P.jpg — here it is my gnome (quality is underground)
other settings in my config reference to networking (wpa+dhclient, also disabling pc-speaker and extra wifi modules, disabling unnecessary services from %desktop-services and so on...)
the problem is that I cannot figure why my apps use only english layout instead of russian that i've chose?