help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tor


From: Gottfried
Subject: Re: tor
Date: Wed, 21 Sep 2022 09:52:26 +0000

Hi Denis,

I added the libvirt-service-type in my config.scm


 (service libvirt-service-type
           (libvirt-configuration
            (unix-sock-group "libvirt")
            (tls-port "16555")))
----------------------------------------------
 (services
    (append
      (list (service mate-desktop-service-type)
            (service enlightenment-desktop-service-type)
                        (service cups-service-type
                                (cups-configuration
                                        (web-interface? #t)
                                        (extensions (list cups-filters 
hplip))))                        
                        (service openssh-service-type)
            (service tor-service-type)
            (set-xorg-configuration
              (xorg-configuration
               (keyboard-layout keyboard-layout)))
            (service libvirt-service-type
                     (libvirt-configuration
                      (unix-sock-group "libvirt")
                      (tls-port "16555"))))
        
      (modify-services %desktop-services
        (guix-service-type
-------------------------------------------------

and doing a:
sudo guix system reconfigure /etc/config.scm
it gave me this message:


Backtrace:
          18 (primitive-load "/home/gfp/.config/guix/current/bin/guix")
In guix/ui.scm:
   2263:7 17 (run-guix . _)
  2226:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    835:3 14 (_)
    815:4 13 (call-with-status-report _ _)
In guix/scripts/system.scm:
   1276:4 12 (_)
In ice-9/boot-9.scm:
  1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   656:37 10 (thunk)
   1295:8  9 (call-with-build-handler #<procedure 7fe023712ab0 at g…> …)
  2165:25  8 (run-with-store #<store-connection 256.99 7fe0205515a0> …)
In guix/scripts/system.scm:
    842:2  7 (_ _)
    719:8  6 (_ #<store-connection 256.99 7fe0205515a0>)
In gnu/system.scm:
  1276:19  5 (operating-system-derivation _)
   796:11  4 (operating-system-services #<<operating-system> kernel:…>)
   830:20  3 (services _)
In /etc/config.scm:
    38:21  2 (services #<<operating-system> kernel: #<package linux-…>)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Fehler/mistake: libvirt-service-type: Nicht gebundene Variable/unbound variable

Where are the problems?
thanks for help
Gottfried



Am 02.09.22 um 20:31 schrieb Gottfried:
Hi Denis,

Before I am changing something, I prefer to ask in order to make not mistakes.

To make virt-manager (and probably gnome-boxes) work you also need to
add something like this in your service list in the system.scm:
(service libvirt-service-type
         (libvirt-configuration))


In the manual it says:

(service libvirt-service-type
          (libvirt-configuration
           (unix-sock-group "libvirt")
           (tls-port "16555")))


I installed "virt-manager".
Now I have to add it to my config.scm file.
The question is where and what?


I would add it as the last of services:

(services
     (append
       (list (service mate-desktop-service-type)
             (service enlightenment-desktop-service-type)
                         (service cups-service-type
                                 (cups-configuration
                                         (web-interface? #t)
                                        (extensions (list cups-filters hplip))))
                         (service openssh-service-type)
             (service tor-service-type)
             (set-xorg-configuration
               (xorg-configuration
                 (keyboard-layout keyboard-layout))))
         (service libvirt-service-type
                      (libvirt-configuration
Now the question would be where go the brackets and if I have to add something to the 2 lines?

       (modify-services %desktop-services
         (guix-service-type
                config => (guix-configuration
                  (inherit config)
                 (extra-options (list "--gc-keep-derivations=yes" "--gc-keep-outputs=yes"))))
         (sane-service-type _ => sane-backends))))




Am 01.09.22 um 15:59 schrieb Denis 'GNUtoo' Carikli:
On Wed, 31 Aug 2022 18:23:54 +0200
Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> wrote:

Yet another way would be to use a virtual machine software like
gnome-boxes or virt-manager to install another GNU/Linux distribution
inside and use the tor-browser in that.

To make virt-manager (and probably gnome-boxes) work you also need to
add something like this in your service list in the system.scm:
(service libvirt-service-type
          (libvirt-configuration))


Denis.


Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]