Changeset 6918e4c in dotfiles


Ignore:
Timestamp:
Apr 12, 2020, 12:14:07 AM (5 years ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
9989e84
Parents:
03ae411
Message:

Update guix config

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guix/config.scm

    r03ae411 r6918e4c  
    4242(define %my-services
    4343  (cons*
    44    ;;(service shepherd-root-service-type)
    45    ;;(service slim-service-type)
    46    ;;(service dhcp-client-service-type)
    47    
    48    (service wpa-supplicant-service-type)
    49    (service network-manager-service-type)
    5044
    5145   ;; (service libvirt-service-type
     
    5347   ;;        (unix-sock-group "libvirt")))
    5448   ;;x11-socket-directory-service
    55    (service dbus-root-service-type)
    56    (service elogind-service-type)
     49
    5750   (service nix-service-type)
    5851
     
    6558   ;;(postgresql-service #:extension-packages (list postgis))
    6659   (service docker-service-type)
    67    ;;(service pulseaudio-service-type)
    6860   (service alsa-service-type)
    6961   
     
    7264   (service cleanup-service-type #t)
    7365   ;; Fix unavailable /usr/bin/env
    74    ;; It's needed by many bash scripts
     66   ;; It's needed by many shell scripts
    7567   (extra-special-file "/usr/bin/env"
    7668                       (file-append coreutils "/bin/env"))
     
    7971   (extra-special-file "/bin/zsh"
    8072                       (file-append zsh "/bin/zsh"))
    81    (extra-special-file "/bin/sh"
    82                        (file-append zsh "/bin/zsh"))
    8373   (extra-special-file "/bin/python"
    8474                       (file-append python "/bin/python"))
    8575   
    86    ;;(service elogind-service-type)
    87    ;; (service rottlog-service-type)
     76   (service rottlog-service-type)
    8877   ;;%powertop-service
    89    ;;(service gnome-desktop-service-type)
    90    ;;(service xfce-desktop-service-type)
    91    ;;(set-xorg-configuration
    92    ;;(xorg-configuration))
     78
    9379   x11-socket-directory-service
     80   (service network-manager-service-type)
     81   (service wpa-supplicant-service-type)
     82   (service dbus-root-service-type)
    9483   polkit-wheel-service
    9584   fontconfig-file-system-service
     85   (service elogind-service-type)
    9686   (simple-service 'network-manager-applet
    9787                   profile-service-type
    9888                   (list network-manager-applet))
    99    %base-services
    100    ;;%desktop-services
    101    ))
     89   %base-services))
    10290
    10391;; Remove gdm (gdm is default in guix)
     
    208196 ;;(kernel hurd)
    209197 ;; Stick to stable kernel because intel gpu problems
    210  (kernel linux-libre-4.19)
     198 (kernel linux-libre)
    211199 (kernel-arguments '("processor.max_cstate=0"  ; Disable power savings
    212200                     "intel_idle.max_cstate=1" ; (cstate 3-4 provides
    213201                                        ; high freq cpu noice)
    214                      "intremap=off"     ; Fix for failed to map dmar2
    215202                     "consoleblank=0"
    216203                     "ahci.mobile_lpm_policy=1"
     
    221208                     "i915.enable_guc=-1"
    222209                     "i915.enable_dc=0" ; Disable cstate for gpu
     210
     211                     "intremap=off"     ; Fix for failed to map dmar2
     212                     
     213                     ;;"intel_iommu=on"
     214                     ;;"iommu=pt"
    223215                     ))
    224  (initrd-modules (append '("i915") %base-initrd-modules))
     216 (initrd-modules (append '("i915") %base-initrd-modules)) 
    225217 (bootloader (bootloader-configuration
    226218              (bootloader grub-bootloader)
     
    254246          ;;"xf86-video-intel"
    255247          ;;"xorg-server"
    256           ;;"libva"
     248          "libva"
     249          "mesa"
     250          "mesa-utils"
     251          "intel-vaapi-driver"
    257252          "patchelf"
    258253          "binutils"
     
    309304          "cabal-install"
    310305          "php"
     306          "lua"
    311307          "alsa-utils"
    312308          "mc"
     
    330326          "p7zip"
    331327          "glibc-utf8-locales"
    332           "gvfs"
    333           ))
     328          "gvfs"))
    334329   %base-packages))
    335330
Note: See TracChangeset for help on using the changeset viewer.