Guest User

Untitled

a guest
May 7th, 2020
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 6.03 KB | None | 0 0
  1. (use-modules (gnu))
  2.  
  3. (use-modules (nongnu packages linux)
  4.              (nongnu system linux-initrd))
  5.  
  6. (use-service-modules desktop networking ssh xorg)
  7. (use-package-modules algebra
  8.                      android
  9.                      base
  10.                      bison
  11.                      bittorrent
  12.                      certs
  13.                      cmake
  14.                      commencement
  15.                      compression
  16.                      cpio
  17.                      curl
  18.                      emacs
  19.                      engineering
  20.                      file
  21.                      flashing-tools
  22.                      flex
  23.                      fonts
  24.                      fontutils
  25.                      gdb
  26.                      gimp
  27.                      gnome
  28.                      gnuzilla
  29.                      inkscape
  30.                      libreoffice
  31.                      m4
  32.                      messaging
  33.                      multiprecision
  34.                      ncurses
  35.                      package-management
  36.                      password-utils
  37.                      perl
  38.                      pkg-config
  39.                      rsync
  40.                      tmux
  41.                      valgrind
  42.                      version-control
  43.                      video
  44.                      virtualization
  45.                      wget)
  46.  
  47. (operating-system
  48.   (host-name "toster")
  49.   (timezone "Europe/Moscow")
  50.   (locale "en_US.utf8")
  51.  
  52.   ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  53.   ;; target hard disk, and "my-root" is the label of the target
  54.   ;; root file system.
  55.   (bootloader (bootloader-configuration
  56.                 (bootloader grub-efi-bootloader)
  57.                 (target "/boot/efi")))
  58.  
  59.   (kernel linux)
  60.  
  61.   (initrd microcode-initrd)
  62.  
  63.   (firmware (list linux-firmware))
  64.  
  65.   (kernel-arguments '("quiet"))
  66.  
  67.   (file-systems (cons* (file-system
  68.                         (device (file-system-label "guix-root"))
  69.                         (mount-point "/")
  70.                         (type "ext4")
  71.                         (flags '(no-atime)))
  72.                         ;(options "noatime, nodiratime, discard"))
  73.                        (file-system
  74.                         (device (file-system-label "guix-home"))
  75.                         (mount-point "/home")
  76.                         (type "ext4")
  77.                         (flags '(no-atime)))
  78.                        (file-system
  79.                         (device "tmpfs")
  80.                         (mount-point "/tmp")
  81.                         (type "tmpfs")
  82.                         (flags '(no-suid no-dev))
  83.                         (options "size=2G"))
  84.                         ;(options "noatime, nodiratime, discard"))
  85.                        (file-system
  86.                         (device "/dev/sda1")
  87.                         (mount-point "/boot/efi")
  88.                         (type "vfat"))
  89.                        %base-file-systems))
  90.  
  91.   ;; This is where user accounts are specified.  The "root"
  92.   ;; account is implicit, and is initially created with the
  93.   ;; empty password.
  94.   (users (cons (user-account
  95.                 (name "qwerty")
  96.                 (comment "qwerty")
  97.                 (group "users")
  98.  
  99.                 ;; Adding the account to the "wheel" group
  100.                 ;; makes it a sudoer.  Adding it to "audio"
  101.                 ;; and "video" allows the user to play sound
  102.                 ;; and access the webcam.
  103.                 (supplementary-groups '("audio"
  104.                                         "dialout"
  105.                                         "kvm"
  106.                                         "video"
  107.                                         "wheel")))
  108.                %base-user-accounts))
  109.  
  110.   ;; Globally-installed packages.
  111.   (packages (cons* adb
  112.                    bc
  113.                    bison
  114.                    cmake
  115.                    cpio
  116.                    curl
  117.                    emacs
  118.                    icecat
  119.                    ffmpeg
  120.                    file
  121.                    flashrom
  122.                    flatpak
  123.                    flex
  124.                    font-dejavu
  125.                    font-google-noto
  126.                    font-liberation
  127.                    fontconfig
  128.                    gcc-toolchain
  129.                    gdb
  130.                    gimp
  131.                    git
  132.                    gmp
  133.                    gnu-make
  134.                    inkscape
  135.                    keepassxc
  136.                    libreoffice
  137.                    m4
  138.                    minicom
  139.                    mpc
  140.                    mpfr
  141.                    ncurses
  142.                    network-manager-applet
  143.                    nss-certs
  144.                    obs
  145.                    perl
  146.                    pidgin
  147.                    pkg-config
  148.                    qbittorrent
  149.                    qemu
  150.                    radare2
  151.                    rsync
  152.                    tmux
  153.                    unzip
  154.                    valgrind
  155.                    vlc
  156.                    wget
  157.                    workrave
  158.                    %base-packages))
  159.  
  160.   ;; Add services to the baseline: a DHCP client and
  161.   ;; an SSH server.
  162.   (services (append (list ;;(service dhcp-client-service-type)
  163.                      (service wpa-supplicant-service-type)
  164.                      (service network-manager-service-type
  165.                               (network-manager-configuration
  166.                                (vpn-plugins (list network-manager-openvpn))))
  167.                      (service openssh-service-type
  168.                               (openssh-configuration
  169.                                (port-number 2222)))
  170.                      (service slim-service-type (slim-configuration
  171.                                                  (display ":0")
  172.                                                  (vt "vt7")))
  173.                      (elogind-service)
  174.                      (udisks-service)
  175.                      (service mate-desktop-service-type)
  176.                      (extra-special-file "/usr/bin/file"
  177.                                          (file-append file "/bin/file")))
  178.                     %base-services)))
Add Comment
Please, Sign In to add comment